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.001166/0.001166, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001181/0.001181, allocations: 161 kB / 24.56 MB, free: 8 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.051/1.051, allocations: 177.1 MB / 205 MB, free: 5.637 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.2247/0.2247, allocations: 29.42 MB / 290.9 MB, free: 2.52 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 2.225e-06/2.225e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/3.694e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.007196/0.007233, allocations: 4.411 MB / 374 MB, free: 6.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.009398, allocations: 1.476 MB / 375.5 MB, free: 5.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.009668, allocations: 23.81 kB / 375.5 MB, free: 5.074 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.01011, allocations: 103.2 kB / 375.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000711/0.01082, allocations: 278.1 kB / 375.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.01114, allocations: 115.8 kB / 376 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006629/0.0118, allocations: 0.5212 MB / 376.5 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.01202, allocations: 100.4 kB / 376.6 MB, free: 3.965 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000383/0.0124, allocations: 283.2 kB / 376.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.01268, allocations: 187.4 kB / 377.1 MB, free: 3.504 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.01271, allocations: 24 kB / 377.1 MB, free: 3.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-05/0.01276, allocations: 28 kB / 377.2 MB, free: 3.453 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.01287, allocations: 111.7 kB / 377.3 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.01298, allocations: 123.7 kB / 377.4 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.01336, allocations: 266.9 kB / 377.6 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01337, allocations: 0 / 377.6 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.01337, allocations: 0 / 377.6 MB, free: 2.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.01338, allocations: 4 kB / 377.6 MB, free: 2.957 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.0008354/0.01421, allocations: 0.6876 MB / 378.3 MB, free: 2.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.01426, allocations: 19.97 kB / 378.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/0.01435, allocations: 64.64 kB / 378.4 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.01489, allocations: 359.6 kB / 378.8 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.01491, allocations: 17.03 kB / 378.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.01495, allocations: 32.38 kB / 378.8 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.01528, allocations: 291.8 kB / 379.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.01529, allocations: 0 / 379.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.01532, allocations: 15.98 kB / 379.1 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.01533, allocations: 4 kB / 379.1 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.0155, allocations: 114.8 kB / 379.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.01686, allocations: 1.746 MB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.01758, allocations: 188.4 kB / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.856e-05/0.01765, allocations: 70.73 kB / 381.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.01768, allocations: 4 kB / 381.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.01771, allocations: 37.39 kB / 381.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.685e-06/0.01771, allocations: 0 / 381.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008634/0.01857, allocations: 0.5649 MB / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.01864, allocations: 136.5 kB / 382 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.01887, allocations: 334.2 kB / 382.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.01889, allocations: 25.7 kB / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.01902, allocations: 267.5 kB / 382.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.01908, allocations: 75.41 kB / 382.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.01914, allocations: 59.36 kB / 382.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.0193, allocations: 0.5117 MB / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.01935, allocations: 35.91 kB / 383.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.01947, allocations: 175.1 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.01967, allocations: 215.1 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01967, allocations: 4 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002596/0.01993, allocations: 225.1 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.01995, allocations: 4 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.01996, allocations: 4 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.01998, allocations: 4 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.02022, allocations: 76.34 kB / 384 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009252/0.02114, allocations: 1.813 MB / 385.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.02124, allocations: 19.89 kB / 385.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.02126, allocations: 8 kB / 385.8 MB, free: 10.16 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.0001197/0.02138, allocations: 168.5 kB / 386 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.02144, allocations: 39.81 kB / 386 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.02165, allocations: 163.5 kB / 386.2 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.02165, allocations: 4 kB / 386.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.02165, allocations: 0 / 386.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.02166, allocations: 0 / 386.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.02216, allocations: 485.3 kB / 386.6 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.02217, allocations: 3.938 kB / 386.6 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.0223, allocations: 43.92 kB / 386.7 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.0223, allocations: 0 / 386.7 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.02232, allocations: 8 kB / 386.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.02232, allocations: 8.016 kB / 386.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02233, allocations: 0 / 386.7 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.02267, allocations: 0.5673 MB / 387.3 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.0227, allocations: 31.7 kB / 387.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.02272, allocations: 8 kB / 387.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.02281, allocations: 8 kB / 387.3 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.02284, allocations: 11.97 kB / 387.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.02285, allocations: 4 kB / 387.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.02298, allocations: 219 kB / 387.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02298, allocations: 0 / 387.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.02326, allocations: 64 kB / 387.6 MB, free: 8.277 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.0001118/0.02337, allocations: 107.2 kB / 387.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.02363, allocations: 127.7 kB / 387.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02363, allocations: 3.938 kB / 387.8 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.0237, allocations: 64.41 kB / 387.9 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/0.02447, allocations: 84.23 kB / 388 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.02597, allocations: 0.7482 MB / 388.7 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.32e-05/0.02605, allocations: 112.5 kB / 388.8 MB, free: 6.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.02618, allocations: 42.94 kB / 388.9 MB, free: 6.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.02623, allocations: 28.5 kB / 388.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.02623, allocations: 0 / 388.9 MB, free: 6.898 MB / 362.7 MB Notification: Performance of Templates: time 0.005721/0.03195, allocations: 2.916 MB / 391.8 MB, free: 4.059 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: 3.0293845180422068]