Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.001275/0.001275, allocations: 118.4 kB / 18.41 MB, free: 4.637 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.001293/0.001294, allocations: 190.7 kB / 21.35 MB, free: 1.703 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.43/1.43, allocations: 222.9 MB / 247.1 MB, free: 4.066 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.1788/0.1788, allocations: 38.01 MB / 337.2 MB, free: 12.8 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_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 66.62 kB / 467.5 MB, free: 27.85 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09489, allocations: 58.07 MB / 0.5133 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.00715/0.1021, allocations: 5.162 MB / 0.5183 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.1053, allocations: 1.971 MB / 0.5202 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.1056, allocations: 15.94 kB / 0.5203 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.1061, allocations: 158.8 kB / 0.5204 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008462/0.107, allocations: 357.9 kB / 0.5207 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.1075, allocations: 222.9 kB / 0.521 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009206/0.1084, allocations: 0.7005 MB / 0.5216 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005374/0.109, allocations: 438.5 kB / 0.5221 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.1094, allocations: 294.8 kB / 0.5223 GB, free: 392 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.1098, allocations: 282.8 kB / 0.5226 GB, free: 108 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.1099, allocations: 48 kB / 0.5227 GB, free: 60 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.1102, allocations: 96.02 kB / 0.5227 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1103, allocations: 151.5 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.1106, allocations: 270.7 kB / 0.5232 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008175/0.1115, allocations: 0.6459 MB / 0.5238 GB, free: 14.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1115, allocations: 0 / 0.5238 GB, free: 14.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1115, allocations: 0 / 0.5238 GB, free: 14.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1115, allocations: 0 / 0.5238 GB, free: 14.9 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001586/0.1131, allocations: 0.8656 MB / 0.5246 GB, free: 13.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1131, allocations: 11.89 kB / 0.5246 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.1132, allocations: 56.61 kB / 0.5247 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.114, allocations: 490.5 kB / 0.5252 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.1141, allocations: 33 kB / 0.5252 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.1142, allocations: 36 kB / 0.5252 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/0.1149, allocations: 457.1 kB / 0.5257 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.115, allocations: 7.953 kB / 0.5257 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.115, allocations: 16 kB / 0.5257 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.115, allocations: 8 kB / 0.5257 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.1155, allocations: 278.3 kB / 0.526 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.1179, allocations: 1.855 MB / 0.5278 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.1185, allocations: 246.5 kB / 0.528 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.1187, allocations: 86.98 kB / 0.5281 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.1187, allocations: 11.86 kB / 0.5281 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002894/0.119, allocations: 173.7 kB / 0.5283 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.913e-06/0.119, allocations: 0 / 0.5283 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.001841/0.1209, allocations: 0.9348 MB / 0.5292 GB, free: 9.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.121, allocations: 136.5 kB / 0.5293 GB, free: 8.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/0.1215, allocations: 397.9 kB / 0.5297 GB, free: 8.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1215, allocations: 33.7 kB / 0.5297 GB, free: 8.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.1217, allocations: 276.3 kB / 0.53 GB, free: 8.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.1218, allocations: 95.36 kB / 0.5301 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.1219, allocations: 73.64 kB / 0.5301 GB, free: 7.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1221, allocations: 350.8 kB / 0.5305 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.1223, allocations: 83.95 kB / 0.5306 GB, free: 7.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.1226, allocations: 220.2 kB / 0.5308 GB, free: 7.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.123, allocations: 311.1 kB / 0.5311 GB, free: 6.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.123, allocations: 3.938 kB / 0.5311 GB, free: 6.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008918/0.1239, allocations: 434 kB / 0.5315 GB, free: 6.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.124, allocations: 14.12 kB / 0.5315 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.124, allocations: 4 kB / 0.5315 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004295/0.1244, allocations: 84.78 kB / 0.5316 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.1247, allocations: 67.91 kB / 0.5316 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.1272, allocations: 2.01 MB / 0.5336 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.1275, allocations: 16 kB / 0.5336 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.1275, allocations: 28.05 kB / 0.5337 GB, free: 4.113 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (37): * Single equations (assignments): 36 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002584/0.1278, allocations: 193.6 kB / 0.5338 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.1279, allocations: 43.72 kB / 0.5339 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.1285, allocations: 298.1 kB / 0.5342 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1285, allocations: 4 kB / 0.5342 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1285, allocations: 4 kB / 0.5342 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1285, allocations: 4 kB / 0.5342 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.1297, allocations: 0.7689 MB / 0.5349 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1297, allocations: 0 / 0.5349 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.13, allocations: 43.92 kB / 0.535 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/0.1302, allocations: 52.78 kB / 0.535 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.1302, allocations: 8 kB / 0.535 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.1317, allocations: 1.547 MB / 0.5365 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1317, allocations: 240 / 0.5365 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.1325, allocations: 0.4948 MB / 0.537 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.1327, allocations: 132.8 kB / 0.5371 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.1328, allocations: 8.062 kB / 0.5372 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.133, allocations: 16 kB / 0.5372 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.1331, allocations: 31.89 kB / 0.5372 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1331, allocations: 7.938 kB / 0.5372 GB, free: 208 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003609/0.1335, allocations: 287.1 kB / 0.5375 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1335, allocations: 0 / 0.5375 GB, free: 15.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005274/0.134, allocations: 107.9 kB / 0.5376 GB, free: 15.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,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 (24): * Single equations (assignments): 22 * 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.001414/0.1354, allocations: 402.1 kB / 0.538 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000945/0.1364, allocations: 407.2 kB / 0.5384 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1364, allocations: 3.938 kB / 0.5384 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004183/0.1368, allocations: 239.4 kB / 0.5386 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.1375, allocations: 131.3 kB / 0.5387 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1395, allocations: 1.131 MB / 0.5398 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.14, allocations: 0.8582 MB / 0.5407 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1401, allocations: 39.42 kB / 0.5407 GB, free: 12.7 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1401, allocations: 0 / 0.5407 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Templates: time 0.01212/0.1523, allocations: 8.236 MB / 0.5487 GB, free: 4.484 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.617175327031873] Failed to read output from testmodel.py, exit status != 0: 0.15848362795077264 0.171968808 0.057874998000000004 Calling exit ...