Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.087/1.087, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2249/0.2249, allocations: 29.41 MB / 291.2 MB, free: 2.477 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.517e-05, allocations: 7.188 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.004528/0.004543, allocations: 4.866 MB / 321.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.006522, allocations: 1.609 MB / 323.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.006732, allocations: 23.81 kB / 323.4 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.007006, allocations: 119 kB / 323.5 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.007528, allocations: 309.9 kB / 323.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.007805, allocations: 155.7 kB / 323.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006643/0.008469, allocations: 0.7158 MB / 324.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.008839, allocations: 354.3 kB / 325 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.00927, allocations: 431 kB / 325.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.009552, allocations: 239.3 kB / 325.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.009599, allocations: 44 kB / 325.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.009654, allocations: 48 kB / 325.7 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.009759, allocations: 167.5 kB / 325.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.009895, allocations: 179.6 kB / 326.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.01025, allocations: 386.6 kB / 326.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.01025, allocations: 0 / 326.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.01026, allocations: 7.984 kB / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.01026, allocations: 0 / 326.5 MB, free: 6.328 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.000703/0.01097, allocations: 0.6769 MB / 327.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.011, allocations: 15.98 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/0.01108, allocations: 68.83 kB / 327.2 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.01148, allocations: 350.3 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.01155, allocations: 92.97 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.01159, allocations: 44.12 kB / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.01195, allocations: 380.3 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.01197, allocations: 3.984 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.01199, allocations: 20 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.012, allocations: 12 kB / 328.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.01217, allocations: 125.6 kB / 328.2 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.01339, allocations: 1.566 MB / 329.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.01356, allocations: 190.6 kB / 330 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.01361, allocations: 50.69 kB / 330 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.01362, allocations: 4 kB / 330 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.01365, allocations: 46.5 kB / 330.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.01365, allocations: 0 / 330.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000593/0.01424, allocations: 408 kB / 330.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.01429, allocations: 118.7 kB / 330.6 MB, free: 1.898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.01445, allocations: 282.8 kB / 330.9 MB, free: 1.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.01446, allocations: 33.7 kB / 330.9 MB, free: 1.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.01456, allocations: 252.8 kB / 331.2 MB, free: 1.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.0146, allocations: 87.23 kB / 331.2 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.01466, allocations: 69.62 kB / 331.3 MB, free: 1.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.01475, allocations: 346.7 kB / 331.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.263e-05/0.01479, allocations: 39.47 kB / 331.7 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-05/0.01489, allocations: 161.1 kB / 331.8 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.01513, allocations: 293.3 kB / 332.1 MB, free: 212 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01513, allocations: 0 / 332.1 MB, free: 212 kB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003235/0.01545, allocations: 265 kB / 332.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.01547, allocations: 8 kB / 332.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01547, allocations: 4 kB / 332.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.01566, allocations: 79.8 kB / 332.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.01579, allocations: 63.91 kB / 332.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009894/0.01678, allocations: 1.618 MB / 334.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.01688, allocations: 16.03 kB / 334.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.0169, allocations: 15.98 kB / 334.2 MB, free: 14.04 MB / 314.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.017, allocations: 135.4 kB / 334.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.01705, allocations: 31.84 kB / 334.4 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.01708, allocations: 39.11 kB / 334.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01708, allocations: 4 kB / 334.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01709, allocations: 0 / 334.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01709, allocations: 4 kB / 334.4 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.01758, allocations: 458.7 kB / 334.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.01758, allocations: 4 kB / 334.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.01771, allocations: 43.91 kB / 334.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.99e-05/0.01777, allocations: 12.86 kB / 334.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01778, allocations: 8 kB / 334.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005402/0.01833, allocations: 1.161 MB / 336.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.01833, allocations: 3.938 kB / 336.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.01859, allocations: 400.5 kB / 336.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.01864, allocations: 31.77 kB / 336.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.01866, allocations: 4 kB / 336.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.01874, allocations: 11.98 kB / 336.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.0188, allocations: 24 kB / 336.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.0188, allocations: 4 kB / 336.5 MB, free: 11.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.896e-05/0.01888, allocations: 104.6 kB / 336.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.01888, allocations: 0 / 336.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003049/0.01919, allocations: 88 kB / 336.7 MB, free: 11.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (dcm_pm.motor.i,loadInertia.w,frictTorq.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.752e-05/0.01928, allocations: 92.39 kB / 336.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.01962, allocations: 295.3 kB / 337.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.01963, allocations: 8 kB / 337.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.01977, allocations: 175.4 kB / 337.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.02011, allocations: 96 kB / 337.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.02142, allocations: 0.8072 MB / 338.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.521e-05/0.02152, allocations: 125.2 kB / 338.3 MB, free: 9.656 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.02164, allocations: 47.25 kB / 338.4 MB, free: 9.609 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.02178, allocations: 119.3 kB / 338.5 MB, free: 9.492 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02178, allocations: 0 / 338.5 MB, free: 9.492 MB / 314.7 MB Notification: Performance of Templates: time 0.006618/0.0284, allocations: 4.392 MB / 342.9 MB, free: 5.207 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.978470214176923]