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.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.001089/0.001089, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001192/0.001192, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2272/0.2272, allocations: 29.42 MB / 291.2 MB, free: 2.527 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_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 1.583e-06/1.583e-06, allocations: 0 / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.145e-05, allocations: 9.688 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.006654/0.006685, allocations: 5.335 MB / 375 MB, free: 5.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.009628, allocations: 2.076 MB / 377 MB, free: 3.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.009932, allocations: 23.81 kB / 377.1 MB, free: 3.879 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.01048, allocations: 154.8 kB / 377.2 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009408/0.01142, allocations: 409.3 kB / 377.6 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.01191, allocations: 227.4 kB / 377.8 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000789/0.0127, allocations: 0.7353 MB / 378.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.01304, allocations: 344 kB / 378.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.01348, allocations: 426.9 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.01378, allocations: 259.2 kB / 379.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.01383, allocations: 55.94 kB / 379.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.01402, allocations: 143.8 kB / 379.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.01413, allocations: 155.5 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.01451, allocations: 187.6 kB / 380.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005232/0.01503, allocations: 486.3 kB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01503, allocations: 0 / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01504, allocations: 0 / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.01504, allocations: 0 / 380.6 MB, free: 360 kB / 346.7 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.001021/0.01606, allocations: 0.9018 MB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.0161, allocations: 11.98 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.01622, allocations: 88.56 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.01677, allocations: 446.8 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.01679, allocations: 33.12 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.01685, allocations: 36 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.01725, allocations: 409.9 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.01727, allocations: 3.938 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.0173, allocations: 16 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.01731, allocations: 12 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.01753, allocations: 147.7 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.01893, allocations: 2.03 MB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.01926, allocations: 197.1 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.706e-05/0.01933, allocations: 63.16 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.01936, allocations: 7.984 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.01955, allocations: 163.3 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.422e-06/0.01956, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001147/0.0207, allocations: 0.7326 MB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.02077, allocations: 136.5 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.0211, allocations: 426.5 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.02112, allocations: 29.7 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.02127, allocations: 322.8 kB / 386.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.02133, allocations: 91.19 kB / 386.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.02141, allocations: 83.3 kB / 386.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003936/0.0218, allocations: 0.5196 MB / 387.4 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.02188, allocations: 48.11 kB / 387.5 MB, free: 9.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.02204, allocations: 251.6 kB / 387.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.02229, allocations: 289.9 kB / 388 MB, free: 8.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.0223, allocations: 0 / 388 MB, free: 8.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004747/0.02277, allocations: 352.4 kB / 388.3 MB, free: 7.988 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.02279, allocations: 11.98 kB / 388.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.0228, allocations: 4 kB / 388.4 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/0.02312, allocations: 104.1 kB / 388.5 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.02325, allocations: 59.92 kB / 388.5 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.02506, allocations: 2.29 MB / 390.8 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.0252, allocations: 19.98 kB / 390.8 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.02523, allocations: 19.98 kB / 390.8 MB, free: 5.363 MB / 362.7 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.0001499/0.02538, allocations: 184.3 kB / 391 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.02544, allocations: 55.66 kB / 391.1 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.0258, allocations: 233 kB / 391.3 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.0258, allocations: 4 kB / 391.3 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.0258, allocations: 4 kB / 391.3 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.02581, allocations: 3.984 kB / 391.3 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006508/0.02646, allocations: 0.6301 MB / 391.9 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.02647, allocations: 4 kB / 391.9 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.0266, allocations: 39.97 kB / 392 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.02673, allocations: 55.5 kB / 392 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.02675, allocations: 8 kB / 392.1 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008936/0.02764, allocations: 1.826 MB / 393.9 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.02765, allocations: 4 kB / 393.9 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007556/0.0284, allocations: 448.6 kB / 394.3 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/0.02848, allocations: 55.7 kB / 394.4 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.02851, allocations: 12.02 kB / 394.4 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.02861, allocations: 15.94 kB / 394.4 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.02867, allocations: 23.95 kB / 394.4 MB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.02869, allocations: 4 kB / 394.4 MB, free: 1.539 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.02887, allocations: 279.1 kB / 394.7 MB, free: 1.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02887, allocations: 0 / 394.7 MB, free: 1.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003972/0.02927, allocations: 119.9 kB / 394.8 MB, free: 1.152 MB / 362.7 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.001049/0.03032, allocations: 463.6 kB / 395.3 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006489/0.03097, allocations: 402.1 kB / 395.7 MB, free: 452 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.03097, allocations: 0 / 395.7 MB, free: 452 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.0312, allocations: 281.3 kB / 395.9 MB, free: 148 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.03164, allocations: 118.3 kB / 396.1 MB, free: 36 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.0334, allocations: 0.9583 MB / 397 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.668e-05/0.03349, allocations: 129.2 kB / 397.1 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.03363, allocations: 67.17 kB / 397.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.0337, allocations: 40.48 kB / 397.2 MB, free: 14.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.0337, allocations: 0 / 397.2 MB, free: 14.78 MB / 378.7 MB Notification: Performance of Templates: time 0.009302/0.04301, allocations: 6.446 MB / 403.7 MB, free: 8.438 MB / 378.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.302239062031731]