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.001816/0.001816, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.00191/0.00191, allocations: 161.3 kB / 24.27 MB, free: 136 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.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3085/0.3085, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.713e-06/1.713e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.219e-05, allocations: 5.266 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.007792/0.007824, allocations: 4.623 MB / 373.5 MB, free: 6.645 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.01115, allocations: 1.468 MB / 375 MB, free: 5.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.01139, allocations: 19.81 kB / 375 MB, free: 5.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.01174, allocations: 115.1 kB / 375.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006911/0.01243, allocations: 290.1 kB / 375.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.01272, allocations: 111.8 kB / 375.5 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007882/0.01351, allocations: 0.5134 MB / 376 MB, free: 4.129 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.01372, allocations: 100.4 kB / 376.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004994/0.01422, allocations: 295.2 kB / 376.4 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.01457, allocations: 179.5 kB / 376.6 MB, free: 3.566 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.01462, allocations: 24 kB / 376.6 MB, free: 3.543 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.01469, allocations: 28 kB / 376.6 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.01485, allocations: 111.6 kB / 376.7 MB, free: 3.406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.01504, allocations: 123.7 kB / 376.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.01561, allocations: 374.7 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.01561, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01561, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.01562, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.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.001178/0.0168, allocations: 0.7301 MB / 378 MB, free: 2.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.01683, allocations: 15.98 kB / 378 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.01694, allocations: 64.7 kB / 378 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006919/0.01763, allocations: 355.6 kB / 378.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.01766, allocations: 21.03 kB / 378.4 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.01771, allocations: 32.33 kB / 378.4 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.01828, allocations: 339.8 kB / 378.8 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.01829, allocations: 4 kB / 378.8 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.01832, allocations: 12 kB / 378.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.01833, allocations: 4 kB / 378.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.01866, allocations: 157.8 kB / 378.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.02082, allocations: 1.828 MB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.02154, allocations: 227.8 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.02169, allocations: 78.78 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.02171, allocations: 7.984 kB / 381.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.02175, allocations: 41.39 kB / 381.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.02176, allocations: 0 / 381.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001175/0.02293, allocations: 0.6246 MB / 381.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.02303, allocations: 132.9 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.02345, allocations: 394.2 kB / 382.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.02348, allocations: 29.7 kB / 382.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.02371, allocations: 279.2 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.02378, allocations: 75.36 kB / 382.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.02388, allocations: 63.36 kB / 382.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003137/0.0242, allocations: 0.5313 MB / 383.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.843e-05/0.0243, allocations: 43.98 kB / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.02454, allocations: 199.2 kB / 383.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.02492, allocations: 270.6 kB / 383.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.02492, allocations: 4 kB / 383.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004268/0.02535, allocations: 253.1 kB / 384 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.02536, allocations: 4 kB / 384 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.02537, allocations: 7.938 kB / 384 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.02539, allocations: 8.438 kB / 384 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.02578, allocations: 83.89 kB / 384.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.02727, allocations: 1.821 MB / 385.9 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.02741, allocations: 8 kB / 385.9 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.02743, allocations: 12 kB / 385.9 MB, free: 9.578 MB / 362.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.0002089/0.02764, allocations: 196.6 kB / 386.1 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.02774, allocations: 35.8 kB / 386.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.02809, allocations: 184.1 kB / 386.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.0281, allocations: 4 kB / 386.3 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.0281, allocations: 0 / 386.3 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.0281, allocations: 7.938 kB / 386.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009192/0.02902, allocations: 0.5548 MB / 386.9 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.02903, allocations: 3.938 kB / 386.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.02927, allocations: 44.02 kB / 386.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.02927, allocations: 0 / 386.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.02929, allocations: 8 kB / 386.9 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.0293, allocations: 3.984 kB / 386.9 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.0293, allocations: 3.938 kB / 387 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.02997, allocations: 0.6141 MB / 387.6 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.03003, allocations: 39.73 kB / 387.6 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.03006, allocations: 0 / 387.6 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.03025, allocations: 8 kB / 387.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.03029, allocations: 7.984 kB / 387.6 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.0303, allocations: 15.98 kB / 387.6 MB, free: 7.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005399/0.03084, allocations: 254.9 kB / 387.9 MB, free: 7.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03084, allocations: 0 / 387.9 MB, free: 7.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004091/0.03125, allocations: 56 kB / 387.9 MB, free: 7.477 MB / 362.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.0001287/0.03138, allocations: 99.28 kB / 388 MB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004279/0.03181, allocations: 180.4 kB / 388.2 MB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.03181, allocations: 4.062 kB / 388.2 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.03195, allocations: 75.53 kB / 388.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/0.03264, allocations: 84.86 kB / 388.4 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.03418, allocations: 0.7355 MB / 389.1 MB, free: 6.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.03442, allocations: 193.1 kB / 389.3 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.03458, allocations: 50.94 kB / 389.3 MB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.03465, allocations: 24.5 kB / 389.4 MB, free: 5.973 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.03465, allocations: 0 / 389.4 MB, free: 5.973 MB / 362.7 MB Notification: Performance of Templates: time 0.007738/0.04239, allocations: 2.905 MB / 392.3 MB, free: 3.145 MB / 362.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: 4.774527027038857]