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.001453/0.001453, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001135/0.001135, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2466/0.2466, allocations: 29.41 MB / 291.2 MB, free: 2.477 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.843e-06/1.843e-06, allocations: 3.938 kB / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.329e-05/3.514e-05, allocations: 2.312 kB / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.007942/0.007977, allocations: 4.394 MB / 321.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.01123, allocations: 1.496 MB / 322.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005275/0.01176, allocations: 19.81 kB / 322.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.01241, allocations: 111.2 kB / 322.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000814/0.01322, allocations: 294 kB / 323.1 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.01362, allocations: 103.8 kB / 323.2 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007524/0.01437, allocations: 0.5212 MB / 323.8 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.01459, allocations: 115 kB / 323.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.01506, allocations: 295.3 kB / 324.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.01533, allocations: 171.5 kB / 324.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.01537, allocations: 24 kB / 324.4 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.028e-05/0.01541, allocations: 24 kB / 324.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.989e-05/0.01551, allocations: 107.7 kB / 324.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.01564, allocations: 127.7 kB / 324.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.01605, allocations: 259 kB / 324.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.01606, allocations: 0 / 324.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.01606, allocations: 4 kB / 324.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.01607, allocations: 3.938 kB / 324.9 MB, free: 7.949 MB / 298.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.0007614/0.01683, allocations: 0.5628 MB / 325.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.01688, allocations: 15.98 kB / 325.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.08e-05/0.01697, allocations: 48.89 kB / 325.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.01741, allocations: 310.1 kB / 325.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.01743, allocations: 29.03 kB / 325.8 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.01747, allocations: 24.38 kB / 325.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.01772, allocations: 255.4 kB / 326.1 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.01774, allocations: 7.922 kB / 326.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.01776, allocations: 16 kB / 326.1 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.01777, allocations: 4 kB / 326.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.01788, allocations: 83.33 kB / 326.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009933/0.01887, allocations: 1.223 MB / 327.4 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.01912, allocations: 158.3 kB / 327.6 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.01916, allocations: 39.42 kB / 327.6 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.01918, allocations: 8 kB / 327.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.01921, allocations: 34.56 kB / 327.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.325e-06/0.01921, allocations: 3.938 kB / 327.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005612/0.01977, allocations: 329.4 kB / 328 MB, free: 4.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.01983, allocations: 132.5 kB / 328.1 MB, free: 4.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.01998, allocations: 270.9 kB / 328.4 MB, free: 4.148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.01999, allocations: 25.7 kB / 328.4 MB, free: 4.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.02008, allocations: 200.9 kB / 328.6 MB, free: 3.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.02012, allocations: 71.42 kB / 328.7 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.02017, allocations: 49.67 kB / 328.7 MB, free: 3.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.02026, allocations: 351 kB / 329.1 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.02029, allocations: 23.98 kB / 329.1 MB, free: 3.418 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/0.02038, allocations: 120.8 kB / 329.2 MB, free: 3.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.02051, allocations: 167.5 kB / 329.4 MB, free: 3.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.02051, allocations: 4 kB / 329.4 MB, free: 3.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000164/0.02068, allocations: 176.2 kB / 329.5 MB, free: 2.863 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.02069, allocations: 7.984 kB / 329.6 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.0207, allocations: 4 kB / 329.6 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.02072, allocations: 4 kB / 329.6 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.02091, allocations: 79.91 kB / 329.6 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006237/0.02153, allocations: 1.204 MB / 330.8 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/0.02162, allocations: 12 kB / 330.9 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.02163, allocations: 8 kB / 330.9 MB, free: 1.457 MB / 298.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 0.0001/0.02173, allocations: 128.6 kB / 331 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.02177, allocations: 23.98 kB / 331 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.02192, allocations: 128.2 kB / 331.1 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.02192, allocations: 4 kB / 331.1 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.02192, allocations: 12.03 kB / 331.2 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.02193, allocations: 0 / 331.2 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.02232, allocations: 325.3 kB / 331.5 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02232, allocations: 0 / 331.5 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.02244, allocations: 43.92 kB / 331.5 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.02244, allocations: 4 kB / 331.5 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.02245, allocations: 0 / 331.5 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.02246, allocations: 11.92 kB / 331.5 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02246, allocations: 0 / 331.5 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.0227, allocations: 401.5 kB / 331.9 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.02272, allocations: 23.81 kB / 331.9 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.02275, allocations: 8 kB / 332 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.02284, allocations: 11.88 kB / 332 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.02286, allocations: 15.97 kB / 332 MB, free: 280 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.02286, allocations: 4 kB / 332 MB, free: 276 kB / 298.7 MB Notification: Performance of sorting global known variables: time 6.471e-05/0.02293, allocations: 96.62 kB / 332.1 MB, free: 180 kB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02293, allocations: 0 / 332.1 MB, free: 180 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.02318, allocations: 56 kB / 332.1 MB, free: 124 kB / 298.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 0.0001005/0.02328, allocations: 85.39 kB / 332.2 MB, free: 28 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.02348, allocations: 115.4 kB / 332.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.02348, allocations: 4 kB / 332.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.353e-05/0.02354, allocations: 56.7 kB / 332.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.02393, allocations: 89.67 kB / 332.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.02527, allocations: 0.7049 MB / 333.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.157e-05/0.02535, allocations: 104.6 kB / 333.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.02549, allocations: 46.98 kB / 333.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.02562, allocations: 107.3 kB / 333.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.533e-06/0.02562, allocations: 0 / 333.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of Templates: time 0.005987/0.03161, allocations: 3.145 MB / 336.6 MB, free: 11.69 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: 3.1638941061683]