Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.0009558/0.0009558, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001035/0.001035, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9651/0.9651, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.132/0.132, allocations: 29.42 MB / 292 MB, free: 2.613 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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.517e-05, allocations: 4.844 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.003374/0.003389, allocations: 4.375 MB / 375.3 MB, free: 27.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.004749, allocations: 1.472 MB / 376.7 MB, free: 26.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.004907, allocations: 19.81 kB / 376.7 MB, free: 26.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.005215, allocations: 107.1 kB / 376.9 MB, free: 26.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.005564, allocations: 290.1 kB / 377.1 MB, free: 26.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.005739, allocations: 111.8 kB / 377.2 MB, free: 25.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.00613, allocations: 0.5134 MB / 377.8 MB, free: 25.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.006274, allocations: 108.5 kB / 377.9 MB, free: 25.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.006497, allocations: 303.1 kB / 378.2 MB, free: 24.99 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.006671, allocations: 175.5 kB / 378.3 MB, free: 24.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.006697, allocations: 24 kB / 378.4 MB, free: 24.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.177e-05/0.006728, allocations: 28 kB / 378.4 MB, free: 24.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.006793, allocations: 111.6 kB / 378.5 MB, free: 24.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.861e-05/0.006872, allocations: 127.7 kB / 378.6 MB, free: 24.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.007087, allocations: 259 kB / 378.9 MB, free: 24.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.007088, allocations: 0 / 378.9 MB, free: 24.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.007089, allocations: 0 / 378.9 MB, free: 24.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.007093, allocations: 0 / 378.9 MB, free: 24.28 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005514/0.007645, allocations: 0.6991 MB / 379.6 MB, free: 23.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.007679, allocations: 12.03 kB / 379.6 MB, free: 23.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.007739, allocations: 60.7 kB / 379.6 MB, free: 23.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.008061, allocations: 339.6 kB / 380 MB, free: 23.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.008075, allocations: 25.03 kB / 380 MB, free: 23.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.008106, allocations: 28.36 kB / 380 MB, free: 23.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.008294, allocations: 275.8 kB / 380.3 MB, free: 22.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.008307, allocations: 3.953 kB / 380.3 MB, free: 22.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.008322, allocations: 19.94 kB / 380.3 MB, free: 22.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.00833, allocations: 8 kB / 380.3 MB, free: 22.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.975e-05/0.00842, allocations: 91.28 kB / 380.4 MB, free: 22.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006974/0.009117, allocations: 1.742 MB / 382.2 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.009297, allocations: 188.2 kB / 382.3 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.009338, allocations: 58.8 kB / 382.4 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.009352, allocations: 4 kB / 382.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.009368, allocations: 45.33 kB / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.00937, allocations: 0 / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004528/0.009823, allocations: 363.5 kB / 382.8 MB, free: 20.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.009849, allocations: 132.5 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.009969, allocations: 338.4 kB / 383.3 MB, free: 19.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.009978, allocations: 33.7 kB / 383.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.01005, allocations: 271 kB / 383.6 MB, free: 19.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.01007, allocations: 67.42 kB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.01012, allocations: 59.33 kB / 383.7 MB, free: 19.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.01017, allocations: 0.5234 MB / 384.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.01019, allocations: 19.98 kB / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.01025, allocations: 167.8 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.01036, allocations: 215 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01036, allocations: 0 / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001583/0.01052, allocations: 217.1 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.01053, allocations: 4 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01053, allocations: 4 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.01054, allocations: 8 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.01072, allocations: 80.33 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003809/0.0111, allocations: 1.779 MB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.01117, allocations: 8 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.01118, allocations: 8 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.779e-05/0.01125, allocations: 180.6 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.0113, allocations: 43.75 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.01142, allocations: 144.2 kB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01142, allocations: 7.938 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-07/0.01143, allocations: 0 / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01143, allocations: 4 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.01174, allocations: 432.8 kB / 387.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01174, allocations: 0 / 387.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.01185, allocations: 47.91 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01186, allocations: 4.031 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.01186, allocations: 11.94 kB / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01187, allocations: 3.938 kB / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01187, allocations: 4 kB / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.01204, allocations: 0.5551 MB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.01206, allocations: 23.81 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.01208, allocations: 3.938 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.01223, allocations: 8 kB / 388.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.01226, allocations: 15.97 kB / 388.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.01226, allocations: 4 kB / 388.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.06e-05/0.01233, allocations: 214.9 kB / 388.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01233, allocations: 0 / 388.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.01257, allocations: 60 kB / 388.4 MB, free: 14 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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 (20): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.557e-05/0.01262, allocations: 103.2 kB / 388.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.01279, allocations: 120.3 kB / 388.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01279, allocations: 192 / 388.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.01284, allocations: 59.59 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01323, allocations: 76.08 kB / 388.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.01419, allocations: 0.7484 MB / 389.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.851e-05/0.01424, allocations: 112.5 kB / 389.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.152e-05/0.01433, allocations: 46.94 kB / 389.7 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.01443, allocations: 130.2 kB / 389.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01443, allocations: 0 / 389.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of Templates: time 0.004216/0.01865, allocations: 3.194 MB / 393 MB, free: 9.438 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.996544700115919]