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.0009528/0.0009528, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.00112/0.00112, allocations: 167.6 kB / 24.82 MB, free: 9.266 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.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2757/0.2757, allocations: 29.41 MB / 291.2 MB, free: 2.406 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.533e-06/1.533e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.306e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005478/0.005502, allocations: 4.913 MB / 375 MB, free: 5.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.008165, allocations: 2.072 MB / 377.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.008503, allocations: 19.81 kB / 377.1 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.009131, allocations: 150.8 kB / 377.2 MB, free: 3.535 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.01018, allocations: 409.5 kB / 377.6 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.01065, allocations: 227.3 kB / 377.9 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.0121, allocations: 0.7237 MB / 378.6 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.01251, allocations: 352 kB / 378.9 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.01313, allocations: 438.9 kB / 379.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.01349, allocations: 243.3 kB / 379.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/0.01355, allocations: 52 kB / 379.6 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.01379, allocations: 131.9 kB / 379.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.01392, allocations: 167.5 kB / 379.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.01408, allocations: 179.5 kB / 380.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.01461, allocations: 490.2 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.01461, allocations: 0 / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01461, allocations: 0 / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.01462, allocations: 0 / 380.6 MB, free: 176 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.0009663/0.01558, allocations: 0.8979 MB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.01563, allocations: 15.98 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.01573, allocations: 88.56 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.01619, allocations: 430.7 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.01622, allocations: 33.12 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.01626, allocations: 39.98 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.0166, allocations: 377.9 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.01662, allocations: 4 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.01664, allocations: 16 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.01665, allocations: 12 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.01679, allocations: 120.3 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.01815, allocations: 2.041 MB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.01841, allocations: 193.2 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.01846, allocations: 55.05 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.01849, allocations: 11.05 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.01865, allocations: 155.2 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.292e-06/0.01865, allocations: 0 / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.00108/0.01973, allocations: 0.5004 MB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.01978, allocations: 132.5 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.02005, allocations: 430.2 kB / 386.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.02007, allocations: 33.64 kB / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.02021, allocations: 322.8 kB / 386.4 MB, free: 9.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.02027, allocations: 103.1 kB / 386.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-05/0.02034, allocations: 75.27 kB / 386.6 MB, free: 9.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.02048, allocations: 0.5273 MB / 387.2 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.02053, allocations: 32.03 kB / 387.2 MB, free: 9.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.02067, allocations: 247.6 kB / 387.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.02092, allocations: 277.9 kB / 387.7 MB, free: 8.488 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.02092, allocations: 4 kB / 387.7 MB, free: 8.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004553/0.02138, allocations: 332.5 kB / 388 MB, free: 8.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.02139, allocations: 10.5 kB / 388 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.0214, allocations: 4 kB / 388 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000267/0.02167, allocations: 100 kB / 388.1 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.0218, allocations: 59.91 kB / 388.2 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.0235, allocations: 2.256 MB / 390.4 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.02362, allocations: 16 kB / 390.5 MB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.02364, allocations: 8 kB / 390.5 MB, free: 5.59 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.0001115/0.02375, allocations: 180.5 kB / 390.6 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.02387, allocations: 55.66 kB / 390.7 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.02416, allocations: 224.9 kB / 390.9 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.02417, allocations: 4 kB / 390.9 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.02417, allocations: 4 kB / 390.9 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02417, allocations: 0 / 390.9 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.0247, allocations: 0.5603 MB / 391.5 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.0247, allocations: 0 / 391.5 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.02483, allocations: 43.92 kB / 391.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.02494, allocations: 43.62 kB / 391.6 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.02495, allocations: 11.94 kB / 391.6 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009438/0.0259, allocations: 1.807 MB / 393.4 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.0259, allocations: 0 / 393.4 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.02626, allocations: 430.5 kB / 393.8 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.02633, allocations: 51.69 kB / 393.9 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.02636, allocations: 12.03 kB / 393.9 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.02645, allocations: 8 kB / 393.9 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.0265, allocations: 31.83 kB / 393.9 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.02651, allocations: 4 kB / 393.9 MB, free: 1.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.02665, allocations: 263 kB / 394.2 MB, free: 1.668 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02665, allocations: 0 / 394.2 MB, free: 1.668 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.027, allocations: 119.9 kB / 394.3 MB, free: 1.551 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.0008818/0.02788, allocations: 451 kB / 394.7 MB, free: 1.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.02831, allocations: 389.8 kB / 395.1 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02831, allocations: 4.188 kB / 395.1 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.0285, allocations: 269.3 kB / 395.4 MB, free: 0.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.02888, allocations: 120.3 kB / 395.5 MB, free: 484 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.03031, allocations: 0.962 MB / 396.5 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.901e-05/0.03039, allocations: 133.2 kB / 396.6 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.03052, allocations: 55.25 kB / 396.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.03069, allocations: 166.1 kB / 396.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0307, allocations: 4 kB / 396.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of Templates: time 0.008812/0.03951, allocations: 6.977 MB / 403.8 MB, free: 8.219 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.1864467533305287]