Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 118.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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.2943/0.2943, allocations: 38 MB / 337.2 MB, free: 12.91 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001986, allocations: 68.53 kB / 467.5 MB, free: 27.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1129, allocations: 58.06 MB / 0.5133 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.007149/0.12, allocations: 4.529 MB / 0.5177 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.1228, allocations: 1.503 MB / 0.5192 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.123, allocations: 11.94 kB / 0.5192 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004177/0.1235, allocations: 115.2 kB / 0.5193 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006665/0.1242, allocations: 278.2 kB / 0.5196 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.1245, allocations: 115.8 kB / 0.5197 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008441/0.1254, allocations: 0.4981 MB / 0.5202 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.1257, allocations: 159.9 kB / 0.5203 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.126, allocations: 195.1 kB / 0.5205 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.1264, allocations: 215.1 kB / 0.5207 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.1265, allocations: 28 kB / 0.5207 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.658e-05/0.1265, allocations: 24 kB / 0.5207 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.1267, allocations: 95.72 kB / 0.5208 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.1269, allocations: 191 kB / 0.521 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.1275, allocations: 378.3 kB / 0.5214 GB, free: 1.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1275, allocations: 4 kB / 0.5214 GB, free: 1.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1275, allocations: 0 / 0.5214 GB, free: 1.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1275, allocations: 4 kB / 0.5214 GB, free: 1.379 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001151/0.1287, allocations: 0.6745 MB / 0.522 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1287, allocations: 15.89 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.1288, allocations: 40.7 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007574/0.1296, allocations: 404 kB / 0.5225 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.1296, allocations: 20.5 kB / 0.5225 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.1297, allocations: 35.95 kB / 0.5225 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.1302, allocations: 334.2 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1303, allocations: 3.938 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.1303, allocations: 12 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1303, allocations: 4 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.1307, allocations: 209.5 kB / 0.5231 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.1325, allocations: 1.494 MB / 0.5245 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.133, allocations: 194.4 kB / 0.5247 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1331, allocations: 79.53 kB / 0.5248 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.1332, allocations: 7.938 kB / 0.5248 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1332, allocations: 38.56 kB / 0.5248 GB, free: 13.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.1332, allocations: 0 / 0.5248 GB, free: 13.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001213/0.1344, allocations: 0.6988 MB / 0.5255 GB, free: 12.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1345, allocations: 136.5 kB / 0.5257 GB, free: 12.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.135, allocations: 313.7 kB / 0.526 GB, free: 12.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.135, allocations: 34.08 kB / 0.526 GB, free: 12.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.1352, allocations: 220.2 kB / 0.5262 GB, free: 12.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1353, allocations: 67.42 kB / 0.5263 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.1354, allocations: 53.66 kB / 0.5263 GB, free: 11.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002794/0.1357, allocations: 346.7 kB / 0.5266 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.1358, allocations: 47.98 kB / 0.5267 GB, free: 11.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.136, allocations: 155.3 kB / 0.5268 GB, free: 11.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.1364, allocations: 220.6 kB / 0.527 GB, free: 11.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1364, allocations: 4 kB / 0.527 GB, free: 11.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004049/0.1368, allocations: 253.5 kB / 0.5273 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1368, allocations: 8 kB / 0.5273 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1368, allocations: 4 kB / 0.5273 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1368, allocations: 7.938 kB / 0.5273 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.1372, allocations: 75.91 kB / 0.5274 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.1384, allocations: 1.373 MB / 0.5287 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1385, allocations: 8 kB / 0.5287 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.1386, allocations: 16.16 kB / 0.5287 GB, free: 9.215 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.1388, allocations: 173.6 kB / 0.5289 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.1389, allocations: 35.77 kB / 0.5289 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.1392, allocations: 183.1 kB / 0.5291 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1392, allocations: 7.984 kB / 0.5291 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.1392, allocations: 0 / 0.5291 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1393, allocations: 4 kB / 0.5291 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1403, allocations: 0.5413 MB / 0.5297 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1403, allocations: 0 / 0.5297 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.1405, allocations: 47.91 kB / 0.5297 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.1405, allocations: 7.938 kB / 0.5297 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1406, allocations: 4 kB / 0.5297 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1406, allocations: 4 kB / 0.5297 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1406, allocations: 0 / 0.5297 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.1411, allocations: 0.4933 MB / 0.5302 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/0.1412, allocations: 104.9 kB / 0.5303 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.1413, allocations: 4 kB / 0.5303 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.1415, allocations: 8.047 kB / 0.5303 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.1415, allocations: 19.84 kB / 0.5303 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1415, allocations: 8 kB / 0.5303 GB, free: 7.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002698/0.1418, allocations: 223.2 kB / 0.5306 GB, free: 7.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1418, allocations: 0 / 0.5306 GB, free: 7.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004238/0.1422, allocations: 56 kB / 0.5306 GB, free: 7.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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 (20): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.1424, allocations: 99.78 kB / 0.5307 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004419/0.1429, allocations: 176.4 kB / 0.5309 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1429, allocations: 0 / 0.5309 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.1431, allocations: 74.33 kB / 0.5309 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.1438, allocations: 90.22 kB / 0.531 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.1454, allocations: 0.8667 MB / 0.5319 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.1459, allocations: 0.803 MB / 0.5327 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/0.146, allocations: 27.44 kB / 0.5327 GB, free: 5 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.146, allocations: 4 kB / 0.5327 GB, free: 4.996 MB / 398.1 MB Notification: Performance of Templates: time 0.008823/0.1549, allocations: 4.731 MB / 0.5373 GB, free: 284 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.648225498967804] Failed to read output from testmodel.py, exit status != 0: 0.16202295292168856 0.17644961 0.046317046 Calling exit ...