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.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.001839/0.001839, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001644/0.001644, allocations: 165.3 kB / 24.27 MB, free: 140 kB / 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.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.2991/0.2991, allocations: 29.42 MB / 290.5 MB, free: 2.426 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_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 2.083e-06/2.083e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.922e-05/3.13e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.009013/0.009044, allocations: 5.507 MB / 374.4 MB, free: 5.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004138/0.01318, allocations: 2.15 MB / 376.5 MB, free: 3.613 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.01358, allocations: 23.81 kB / 376.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.01427, allocations: 166.7 kB / 376.7 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.01556, allocations: 477 kB / 377.2 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.01624, allocations: 251.3 kB / 377.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.01758, allocations: 0.8834 MB / 378.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000584/0.01817, allocations: 405.2 kB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007795/0.01895, allocations: 498.6 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.01947, allocations: 291.2 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.553e-05/0.01957, allocations: 56 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.01988, allocations: 139.9 kB / 379.7 MB, free: 468 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.02014, allocations: 199.4 kB / 379.9 MB, free: 268 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.02048, allocations: 211.5 kB / 380.1 MB, free: 56 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.02175, allocations: 0.7866 MB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.02175, allocations: 0 / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02175, allocations: 0 / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.02176, allocations: 0 / 380.9 MB, free: 15.27 MB / 362.7 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.002012/0.02377, allocations: 0.8569 MB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.02382, allocations: 15.97 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.02404, allocations: 100.6 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009884/0.02503, allocations: 487 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.02507, allocations: 37.12 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.0252, allocations: 51.98 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/0.02615, allocations: 0.5416 MB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.02618, allocations: 11.88 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.02623, allocations: 20 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.12e-05/0.02632, allocations: 20.98 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006231/0.02694, allocations: 327.7 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.02979, allocations: 1.835 MB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.0303, allocations: 219.6 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.03046, allocations: 78.67 kB / 385.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.03049, allocations: 4 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/0.0308, allocations: 172.7 kB / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.03081, allocations: 0 / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.00195/0.03276, allocations: 0.8735 MB / 386.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.03287, allocations: 136.5 kB / 386.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.03345, allocations: 413.9 kB / 387 MB, free: 8.785 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.03349, allocations: 29.7 kB / 387 MB, free: 8.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.03376, allocations: 308.3 kB / 387.3 MB, free: 8.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.03386, allocations: 99.2 kB / 387.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.03399, allocations: 70.16 kB / 387.5 MB, free: 8.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.03422, allocations: 358.8 kB / 387.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.0344, allocations: 89.11 kB / 387.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.03474, allocations: 251.8 kB / 388.2 MB, free: 7.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.03537, allocations: 324.9 kB / 388.5 MB, free: 7.137 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.03537, allocations: 4 kB / 388.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001009/0.03638, allocations: 457.5 kB / 389 MB, free: 6.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.03641, allocations: 8 kB / 389 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.03642, allocations: 4.562 kB / 389 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.03699, allocations: 112.7 kB / 389.1 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.03728, allocations: 67.91 kB / 389.1 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.03976, allocations: 1.695 MB / 390.8 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.04004, allocations: 23.94 kB / 390.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.04009, allocations: 32.03 kB / 390.9 MB, free: 4.633 MB / 362.7 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.0002977/0.04039, allocations: 201.7 kB / 391.1 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.04049, allocations: 51.72 kB / 391.1 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.04115, allocations: 282 kB / 391.4 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.04116, allocations: 4 kB / 391.4 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.04116, allocations: 0 / 391.4 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.04116, allocations: 0 / 391.4 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.04246, allocations: 0.673 MB / 392.1 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.04246, allocations: 0 / 392.1 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.04275, allocations: 47.91 kB / 392.1 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002495/0.043, allocations: 48.81 kB / 392.2 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.04302, allocations: 8 kB / 392.2 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.04468, allocations: 1.421 MB / 393.6 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.04468, allocations: 0 / 393.6 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.04558, allocations: 485.5 kB / 394.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.04572, allocations: 55.75 kB / 394.2 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.04578, allocations: 4.125 kB / 394.2 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.04603, allocations: 19.98 kB / 394.2 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/0.04611, allocations: 19.97 kB / 394.2 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.04614, allocations: 16.05 kB / 394.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004397/0.04658, allocations: 283.1 kB / 394.5 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04658, allocations: 0 / 394.5 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000657/0.04724, allocations: 127.9 kB / 394.6 MB, free: 0.7383 MB / 362.7 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.002143/0.04938, allocations: 495.8 kB / 395.1 MB, free: 452 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009641/0.05035, allocations: 381.9 kB / 395.5 MB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.05035, allocations: 1.125 kB / 395.5 MB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.05091, allocations: 234.7 kB / 395.7 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.05166, allocations: 129.3 kB / 395.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.05387, allocations: 1.068 MB / 396.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.05422, allocations: 289.6 kB / 397.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.05446, allocations: 55.38 kB / 397.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.05457, allocations: 44.42 kB / 397.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.05457, allocations: 0 / 397.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of Templates: time 0.01542/0.06999, allocations: 6.539 MB / 403.8 MB, free: 7.746 MB / 378.7 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: 4.94459873798769]