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.001029/0.001029, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001069/0.001069, allocations: 171.8 kB / 24.82 MB, free: 8.934 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.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2595/0.2595, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.203e-06/1.203e-06, allocations: 0 / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.326e-05, allocations: 2.312 kB / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.00435/0.004373, allocations: 4.379 MB / 374.5 MB, free: 6.348 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.006106, allocations: 1.464 MB / 375.9 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.006321, allocations: 23.81 kB / 376 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.006689, allocations: 107.2 kB / 376.1 MB, free: 4.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005557/0.007245, allocations: 282.1 kB / 376.3 MB, free: 4.473 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.0075, allocations: 107.8 kB / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006288/0.008129, allocations: 0.5252 MB / 377 MB, free: 3.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.008306, allocations: 104.4 kB / 377.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.008669, allocations: 303.2 kB / 377.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.008894, allocations: 171.5 kB / 377.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.008928, allocations: 24 kB / 377.6 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.219e-05/0.00897, allocations: 28 kB / 377.6 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.253e-05/0.009062, allocations: 111.6 kB / 377.7 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.792e-05/0.00916, allocations: 123.7 kB / 377.8 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.009477, allocations: 259 kB / 378.1 MB, free: 2.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.00948, allocations: 0 / 378.1 MB, free: 2.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.009482, allocations: 4 kB / 378.1 MB, free: 2.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.009488, allocations: 0 / 378.1 MB, free: 2.734 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.0007442/0.01023, allocations: 0.6914 MB / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.01027, allocations: 11.98 kB / 378.8 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.01034, allocations: 64.7 kB / 378.8 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.01072, allocations: 343.5 kB / 379.2 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.01073, allocations: 21.03 kB / 379.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.01077, allocations: 28.33 kB / 379.2 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.01102, allocations: 279.8 kB / 379.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.01103, allocations: 7.938 kB / 379.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.01105, allocations: 12 kB / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.01105, allocations: 4 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.01116, allocations: 103.3 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.01233, allocations: 1.746 MB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.01255, allocations: 187.3 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.01261, allocations: 58.78 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.01263, allocations: 12 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.01265, allocations: 41.33 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.01265, allocations: 0 / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005494/0.0132, allocations: 364.9 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.01325, allocations: 132.5 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.01343, allocations: 338 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.01344, allocations: 29.7 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01356, allocations: 271.1 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.01359, allocations: 67.8 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.01365, allocations: 59.33 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.01379, allocations: 0.5195 MB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.01383, allocations: 19.98 kB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.01392, allocations: 167.2 kB / 383.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.01408, allocations: 216.9 kB / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01408, allocations: 3.938 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001911/0.01427, allocations: 201.2 kB / 384 MB, free: 12.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.01429, allocations: 11.94 kB / 384 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01429, allocations: 4 kB / 384 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.01431, allocations: 8 kB / 384 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.01451, allocations: 83.89 kB / 384.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007451/0.01525, allocations: 1.779 MB / 385.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.01533, allocations: 15.89 kB / 385.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.01534, allocations: 12 kB / 385.9 MB, free: 10.25 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.0001105/0.01545, allocations: 168.5 kB / 386.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.0155, allocations: 39.75 kB / 386.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.01567, allocations: 144.4 kB / 386.3 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.01567, allocations: 7.938 kB / 386.3 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01567, allocations: 0 / 386.3 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01568, allocations: 3.984 kB / 386.3 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.0161, allocations: 437.3 kB / 386.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.0161, allocations: 0 / 386.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.01623, allocations: 39.92 kB / 386.7 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01623, allocations: 7.984 kB / 386.8 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.01624, allocations: 7.938 kB / 386.8 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01624, allocations: 4 kB / 386.8 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01625, allocations: 4.031 kB / 386.8 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.01655, allocations: 0.5485 MB / 387.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.01658, allocations: 27.77 kB / 387.3 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.0166, allocations: 11.94 kB / 387.4 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.0167, allocations: 4 kB / 387.4 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.01672, allocations: 15.97 kB / 387.4 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.01673, allocations: 4 kB / 387.4 MB, free: 8.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.663e-05/0.01682, allocations: 210.9 kB / 387.6 MB, free: 8.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01682, allocations: 0 / 387.6 MB, free: 8.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.01707, allocations: 56 kB / 387.6 MB, free: 8.465 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 8.865e-05/0.01716, allocations: 111.2 kB / 387.7 MB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01734, allocations: 123.6 kB / 387.9 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01734, allocations: 0 / 387.9 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.875e-05/0.01739, allocations: 48.47 kB / 387.9 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.01781, allocations: 83.12 kB / 388 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.01906, allocations: 0.7547 MB / 388.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.497e-05/0.01914, allocations: 116.4 kB / 388.9 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.05e-05/0.01923, allocations: 30.97 kB / 388.9 MB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.01936, allocations: 134.2 kB / 389 MB, free: 7 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01936, allocations: 0 / 389 MB, free: 7 MB / 362.7 MB Notification: Performance of Templates: time 0.004997/0.02435, allocations: 3.159 MB / 392.2 MB, free: 3.918 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.0190395209938288]