Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.001565/0.001566, 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.001371/0.001371, 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.402/1.402, 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.2717/0.2717, allocations: 38 MB / 337.2 MB, free: 12.92 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.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.84 kB / 467.5 MB, free: 27.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 58.07 MB / 0.5133 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007864/0.1101, allocations: 5.694 MB / 0.5188 GB, free: 4.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003622/0.1137, allocations: 2.123 MB / 0.5209 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.1141, allocations: 23.81 kB / 0.5209 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.1146, allocations: 170.8 kB / 0.5211 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009606/0.1156, allocations: 417.6 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.1162, allocations: 251.5 kB / 0.5217 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1173, allocations: 0.8409 MB / 0.5225 GB, free: 200 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.118, allocations: 0.489 MB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.1184, allocations: 350.6 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000488/0.1189, allocations: 342.6 kB / 0.5237 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.943e-05/0.119, allocations: 56 kB / 0.5237 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.1193, allocations: 104 kB / 0.5238 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.1195, allocations: 171.5 kB / 0.524 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.1198, allocations: 302.5 kB / 0.5243 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009096/0.1207, allocations: 0.7431 MB / 0.525 GB, free: 13.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1208, allocations: 4 kB / 0.525 GB, free: 13.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1208, allocations: 0 / 0.525 GB, free: 13.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1208, allocations: 0 / 0.525 GB, free: 13.65 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001682/0.1225, allocations: 0.9129 MB / 0.5259 GB, free: 12.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1225, allocations: 11.89 kB / 0.5259 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.1226, allocations: 68.52 kB / 0.526 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/0.1235, allocations: 0.5219 MB / 0.5265 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.1236, allocations: 29 kB / 0.5265 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.1237, allocations: 55.89 kB / 0.5266 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008375/0.1245, allocations: 0.5134 MB / 0.5271 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.1246, allocations: 0 / 0.5271 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.1246, allocations: 20 kB / 0.5271 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/0.1247, allocations: 17 kB / 0.5271 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.1253, allocations: 339.7 kB / 0.5274 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.128, allocations: 2.066 MB / 0.5295 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.1285, allocations: 222.4 kB / 0.5297 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1286, allocations: 82.67 kB / 0.5297 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.1287, allocations: 8 kB / 0.5298 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.129, allocations: 169.7 kB / 0.5299 GB, free: 8.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 3.407e-06/0.129, allocations: 0 / 0.5299 GB, free: 8.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001779/0.1308, allocations: 0.9454 MB / 0.5308 GB, free: 7.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/0.1309, allocations: 144.4 kB / 0.531 GB, free: 7.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.1314, allocations: 429.8 kB / 0.5314 GB, free: 6.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.1315, allocations: 29.7 kB / 0.5314 GB, free: 6.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.1317, allocations: 300.2 kB / 0.5317 GB, free: 6.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.178e-05/0.1318, allocations: 95.2 kB / 0.5318 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1319, allocations: 78.16 kB / 0.5319 GB, free: 6.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1321, allocations: 358.7 kB / 0.5322 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.1323, allocations: 84.83 kB / 0.5323 GB, free: 5.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.1326, allocations: 225.4 kB / 0.5325 GB, free: 5.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.1331, allocations: 321.2 kB / 0.5328 GB, free: 5.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1331, allocations: 0 / 0.5328 GB, free: 5.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009023/0.134, allocations: 450.1 kB / 0.5332 GB, free: 4.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.134, allocations: 8 kB / 0.5333 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.134, allocations: 8.031 kB / 0.5333 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004244/0.1345, allocations: 92.77 kB / 0.5333 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.1347, allocations: 75.84 kB / 0.5334 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.1371, allocations: 1.829 MB / 0.5352 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.1374, allocations: 12 kB / 0.5352 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.1374, allocations: 27.97 kB / 0.5352 GB, free: 2.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.000257/0.1377, allocations: 205.6 kB / 0.5354 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.1378, allocations: 51.66 kB / 0.5355 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005885/0.1384, allocations: 274.1 kB / 0.5358 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.1384, allocations: 7.938 kB / 0.5358 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1384, allocations: 4 kB / 0.5358 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1384, allocations: 0 / 0.5358 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.1396, allocations: 0.7761 MB / 0.5365 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1397, allocations: 0 / 0.5365 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.1399, allocations: 55.84 kB / 0.5366 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/0.1402, allocations: 48.81 kB / 0.5366 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.1402, allocations: 4 kB / 0.5366 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.1417, allocations: 1.543 MB / 0.5381 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1417, allocations: 0 / 0.5381 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/0.1425, allocations: 490 kB / 0.5386 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.1427, allocations: 128.9 kB / 0.5387 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.1427, allocations: 11.94 kB / 0.5387 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.1429, allocations: 15.98 kB / 0.5387 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.143, allocations: 23.91 kB / 0.5388 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.1431, allocations: 12 kB / 0.5388 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003529/0.1434, allocations: 299.1 kB / 0.5391 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1434, allocations: 0 / 0.5391 GB, free: 14.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.1439, allocations: 115.9 kB / 0.5392 GB, free: 14.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001384/0.1453, allocations: 395.8 kB / 0.5396 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007963/0.1461, allocations: 402.5 kB / 0.5399 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1462, allocations: 0 / 0.5399 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.1466, allocations: 231.2 kB / 0.5402 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.1473, allocations: 135.2 kB / 0.5403 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1493, allocations: 1.253 MB / 0.5415 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.1499, allocations: 0.8777 MB / 0.5424 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.15, allocations: 35.42 kB / 0.5424 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.15, allocations: 0 / 0.5424 GB, free: 10.95 MB / 414.1 MB Notification: Performance of Templates: time 0.01298/0.163, allocations: 8.869 MB / 0.5511 GB, free: 2.105 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.751234306022525] Failed to read output from testmodel.py, exit status != 0: 0.16932114004157484 0.182893892 0.059492060000000006 Calling exit ...