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.0006726/0.0006726, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009268/0.001599, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000691/0.000691, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009317/0.001623, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8946/0.8946, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07556/0.9701, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.1158/0.1158, allocations: 29.43 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1169/0.2326, allocations: 9.53 MB / 283.1 MB, free: 12.8 MB / 282.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.473e-06/1.473e-06, allocations: 0 / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.173e-05, allocations: 2.969 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.005934/0.005955, allocations: 4.487 MB / 288.9 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.008364, allocations: 1.51 MB / 290.4 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.008642, allocations: 20.06 kB / 290.4 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.009019, allocations: 114.5 kB / 290.6 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.009651, allocations: 275.7 kB / 290.8 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.009966, allocations: 118.9 kB / 290.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000713/0.01068, allocations: 0.5113 MB / 291.5 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.01089, allocations: 109.5 kB / 291.6 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000487/0.01138, allocations: 317.8 kB / 291.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.01168, allocations: 170.9 kB / 292 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.01172, allocations: 27.97 kB / 292.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.281e-05/0.01179, allocations: 26.56 kB / 292.1 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.01189, allocations: 95 kB / 292.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.01203, allocations: 99.25 kB / 292.3 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.01241, allocations: 239.7 kB / 292.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.01243, allocations: 0 / 292.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01243, allocations: 3.938 kB / 292.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.01244, allocations: 0 / 292.5 MB, free: 5.918 MB / 282.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.0009277/0.01337, allocations: 0.6461 MB / 293.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.0134, allocations: 9.281 kB / 293.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.01349, allocations: 48.8 kB / 293.2 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.01402, allocations: 319.8 kB / 293.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.01405, allocations: 22.94 kB / 293.6 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.01409, allocations: 26.41 kB / 293.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.01436, allocations: 249.7 kB / 293.8 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.01437, allocations: 5.047 kB / 293.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.01439, allocations: 19.3 kB / 293.8 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.0144, allocations: 10.56 kB / 293.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.01451, allocations: 86.73 kB / 293.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.01537, allocations: 1.225 MB / 295.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.01557, allocations: 155.2 kB / 295.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.01561, allocations: 43.55 kB / 295.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.01563, allocations: 8 kB / 295.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.01565, allocations: 34.55 kB / 295.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.773e-06/0.01565, allocations: 4 kB / 295.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004915/0.01614, allocations: 325.1 kB / 295.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.01619, allocations: 136.5 kB / 295.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.01633, allocations: 266.9 kB / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.01634, allocations: 29.7 kB / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.01641, allocations: 197 kB / 296.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.01645, allocations: 71.39 kB / 296.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.0165, allocations: 45.69 kB / 296.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.01658, allocations: 346.7 kB / 296.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.01661, allocations: 19.98 kB / 296.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.01667, allocations: 120.8 kB / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.0168, allocations: 184.9 kB / 297.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.0168, allocations: 4 kB / 297.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001465/0.01694, allocations: 166.2 kB / 297.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01696, allocations: 13.55 kB / 297.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01696, allocations: 4.438 kB / 297.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.01698, allocations: 8 kB / 297.3 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.01719, allocations: 87.89 kB / 297.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005041/0.0177, allocations: 1.2 MB / 298.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.718e-05/0.01778, allocations: 8.125 kB / 298.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.0178, allocations: 23.97 kB / 298.6 MB, free: 15.96 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 8.028e-05/0.01788, allocations: 128.5 kB / 298.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.01792, allocations: 19.98 kB / 298.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.01805, allocations: 126.9 kB / 298.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01805, allocations: 4 kB / 298.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01805, allocations: 3.938 kB / 298.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01806, allocations: 0 / 298.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.0184, allocations: 337.3 kB / 299.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.0184, allocations: 4.031 kB / 299.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.01856, allocations: 47.97 kB / 299.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.01858, allocations: 23.81 kB / 299.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.01858, allocations: 7.938 kB / 299.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.01859, allocations: 4 kB / 299.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01859, allocations: 7.938 kB / 299.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01859, allocations: 0 / 299.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.01881, allocations: 395.9 kB / 299.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.01883, allocations: 7.984 kB / 299.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.276e-05/0.01892, allocations: 11.94 kB / 299.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.01894, allocations: 15.92 kB / 299.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.01895, allocations: 4 kB / 299.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.01901, allocations: 100.6 kB / 299.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01901, allocations: 0 / 299.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.01928, allocations: 60 kB / 299.9 MB, free: 14.62 MB / 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 7.785e-05/0.01936, allocations: 76.42 kB / 300 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.01953, allocations: 125.3 kB / 300.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.01954, allocations: 11.98 kB / 300.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.0196, allocations: 58.83 kB / 300.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.02019, allocations: 0.6736 MB / 300.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.02531, allocations: 0.6964 MB / 301.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.953e-05/0.02538, allocations: 108.6 kB / 301.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.02549, allocations: 39 kB / 301.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.02562, allocations: 107.3 kB / 301.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of SimCode: time 1.282e-06/0.02562, allocations: 3.938 kB / 301.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of Templates: time 0.005274/0.0309, allocations: 3.222 MB / 305 MB, free: 9.406 MB / 298.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.5869542909786105]