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.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.001315/0.001315, allocations: 117 kB / 18.41 MB, free: 4.664 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.001355/0.001355, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.408/1.408, allocations: 222.9 MB / 247.1 MB, free: 4.219 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.3004/0.3004, allocations: 37.99 MB / 337.2 MB, free: 12.95 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_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 0.001946/0.001946, allocations: 60.06 kB / 467.5 MB, free: 27.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1041, allocations: 58.07 MB / 0.5133 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.007474/0.1116, allocations: 5.258 MB / 0.5184 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.1144, allocations: 1.573 MB / 0.5199 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003116/0.1147, allocations: 15.94 kB / 0.52 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.1152, allocations: 123 kB / 0.5201 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007938/0.116, allocations: 322 kB / 0.5204 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.1164, allocations: 155.8 kB / 0.5205 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009421/0.1173, allocations: 0.6928 MB / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006113/0.118, allocations: 451.6 kB / 0.5216 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.1184, allocations: 279 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004505/0.1189, allocations: 294.8 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.42e-05/0.119, allocations: 48 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1191, allocations: 44 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.1193, allocations: 151.6 kB / 0.5224 GB, free: 360 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002878/0.1195, allocations: 262.8 kB / 0.5227 GB, free: 96 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008017/0.1204, allocations: 0.6031 MB / 0.5233 GB, free: 15.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1204, allocations: 0 / 0.5233 GB, free: 15.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1204, allocations: 0 / 0.5233 GB, free: 15.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1204, allocations: 4 kB / 0.5233 GB, free: 15.48 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001603/0.122, allocations: 0.7888 MB / 0.524 GB, free: 14.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1221, allocations: 15.89 kB / 0.524 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1222, allocations: 52.61 kB / 0.5241 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007492/0.1229, allocations: 468.1 kB / 0.5245 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.1231, allocations: 66.64 kB / 0.5246 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/0.1231, allocations: 47.94 kB / 0.5246 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008567/0.124, allocations: 0.5048 MB / 0.5251 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.124, allocations: 0 / 0.5251 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.1241, allocations: 16 kB / 0.5252 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.1241, allocations: 19.92 kB / 0.5252 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006917/0.1248, allocations: 351.6 kB / 0.5255 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/0.1274, allocations: 1.961 MB / 0.5274 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.1279, allocations: 217.6 kB / 0.5276 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.1281, allocations: 102.6 kB / 0.5277 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1281, allocations: 4 kB / 0.5277 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.1282, allocations: 34.56 kB / 0.5278 GB, free: 10.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.1282, allocations: 0 / 0.5278 GB, free: 10.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001776/0.1299, allocations: 0.8611 MB / 0.5286 GB, free: 9.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.13, allocations: 106.8 kB / 0.5287 GB, free: 9.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.1304, allocations: 329.6 kB / 0.529 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.1305, allocations: 29.7 kB / 0.5291 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.1307, allocations: 280.2 kB / 0.5293 GB, free: 8.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.086e-05/0.1308, allocations: 79.39 kB / 0.5294 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1309, allocations: 73.66 kB / 0.5295 GB, free: 8.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1311, allocations: 346.7 kB / 0.5298 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.1313, allocations: 79.95 kB / 0.5299 GB, free: 8.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.1316, allocations: 217 kB / 0.5301 GB, free: 8.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.1329, allocations: 0.5533 MB / 0.5306 GB, free: 7.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1329, allocations: 0 / 0.5306 GB, free: 7.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009045/0.1338, allocations: 416.6 kB / 0.531 GB, free: 6.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.1339, allocations: 11.94 kB / 0.531 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1339, allocations: 4 kB / 0.531 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/0.1342, allocations: 80.78 kB / 0.5311 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.1345, allocations: 60.09 kB / 0.5312 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.1367, allocations: 1.932 MB / 0.5331 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.1369, allocations: 19.98 kB / 0.5331 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.137, allocations: 16 kB / 0.5331 GB, free: 4.723 MB / 398.1 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.0002549/0.1372, allocations: 197.8 kB / 0.5333 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.1373, allocations: 35.77 kB / 0.5333 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.1374, allocations: 39.25 kB / 0.5333 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1374, allocations: 4 kB / 0.5334 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1375, allocations: 7.984 kB / 0.5334 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.1375, allocations: 0 / 0.5334 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.1388, allocations: 0.7765 MB / 0.5341 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1388, allocations: 4 kB / 0.5341 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.139, allocations: 35.98 kB / 0.5342 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.469e-05/0.1392, allocations: 24.84 kB / 0.5342 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1392, allocations: 4 kB / 0.5342 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.1403, allocations: 1.391 MB / 0.5355 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1403, allocations: 4.031 kB / 0.5355 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/0.1412, allocations: 0.5088 MB / 0.536 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.1413, allocations: 117 kB / 0.5362 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.1413, allocations: 8 kB / 0.5362 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.1415, allocations: 11.98 kB / 0.5362 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.1416, allocations: 19.92 kB / 0.5362 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1416, allocations: 7.984 kB / 0.5362 GB, free: 1.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002765/0.1419, allocations: 231.2 kB / 0.5364 GB, free: 1.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1419, allocations: 0 / 0.5364 GB, free: 1.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005245/0.1425, allocations: 84 kB / 0.5365 GB, free: 0.957 MB / 398.1 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 0.0001337/0.1426, allocations: 119 kB / 0.5366 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.1434, allocations: 370.4 kB / 0.537 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1434, allocations: 384 / 0.537 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.1438, allocations: 224.7 kB / 0.5372 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.1445, allocations: 114.6 kB / 0.5373 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1462, allocations: 0.9564 MB / 0.5382 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.1468, allocations: 0.8465 MB / 0.5391 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.1468, allocations: 27.44 kB / 0.5391 GB, free: 14.22 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1468, allocations: 0 / 0.5391 GB, free: 14.22 MB / 414.1 MB Notification: Performance of Templates: time 0.01027/0.1571, allocations: 6.932 MB / 0.5458 GB, free: 7.309 MB / 414.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.142486335942522] Failed to read output from testmodel.py, exit status != 0: 0.16366125596687198 0.17743673100000001 0.054358094 Calling exit ...