Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.0006658/0.0006658, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009414/0.001607, allocations: 449.7 kB / 10.37 MB, free: 324 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.000692/0.000692, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009163/0.001608, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9732/0.9732, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08519/1.058, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.1301/0.1301, allocations: 29.43 MB / 273.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1442/0.2742, allocations: 9.521 MB / 282.9 MB, free: 12.85 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.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.245e-06/9.648e-06, allocations: 4.422 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004167/0.004176, allocations: 4.657 MB / 288.9 MB, free: 8.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.005956, allocations: 1.49 MB / 290.4 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.006128, allocations: 22 kB / 290.4 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.006334, allocations: 103.9 kB / 290.5 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.006778, allocations: 279.5 kB / 290.7 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.007046, allocations: 136.3 kB / 290.9 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.007624, allocations: 0.6005 MB / 291.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.007939, allocations: 310.9 kB / 291.8 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.008344, allocations: 365.1 kB / 292.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.00859, allocations: 200 kB / 292.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.008636, allocations: 38.47 kB / 292.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.4e-05/0.00869, allocations: 39.78 kB / 292.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.746e-05/0.008777, allocations: 106.3 kB / 292.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.008903, allocations: 129.9 kB / 292.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.009198, allocations: 304.7 kB / 292.9 MB, free: 5.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.00921, allocations: 5.438 kB / 292.9 MB, free: 5.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.009211, allocations: 0 / 292.9 MB, free: 5.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.009224, allocations: 0 / 292.9 MB, free: 5.586 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0006935/0.009917, allocations: 0.6939 MB / 293.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.267e-05/0.00994, allocations: 9.188 kB / 293.7 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.01001, allocations: 59.7 kB / 293.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.01034, allocations: 338.9 kB / 294 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.0104, allocations: 84.27 kB / 294.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.01044, allocations: 38.47 kB / 294.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.0107, allocations: 317 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.01072, allocations: 3.953 kB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.01073, allocations: 16 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.01074, allocations: 8 kB / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.01086, allocations: 104.4 kB / 294.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009913/0.01185, allocations: 1.468 MB / 296.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.01198, allocations: 171.1 kB / 296.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.01202, allocations: 34.64 kB / 296.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.01203, allocations: 4 kB / 296.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.01205, allocations: 46.5 kB / 296.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 2.073e-06/0.01205, allocations: 3.984 kB / 296.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004519/0.0125, allocations: 355.2 kB / 296.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.01254, allocations: 102.8 kB / 296.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.01268, allocations: 274.8 kB / 297 MB, free: 1.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.01269, allocations: 29.7 kB / 297.1 MB, free: 1.602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.01277, allocations: 224.5 kB / 297.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.01281, allocations: 83.55 kB / 297.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.01286, allocations: 69.94 kB / 297.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.583e-05/0.01294, allocations: 342.7 kB / 297.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.212e-05/0.01297, allocations: 28.64 kB / 297.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.01306, allocations: 158.1 kB / 298 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.01321, allocations: 218.8 kB / 298.2 MB, free: 376 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01321, allocations: 8 kB / 298.2 MB, free: 368 kB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001705/0.01338, allocations: 205.6 kB / 298.4 MB, free: 156 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.01339, allocations: 4.562 kB / 298.4 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.0134, allocations: 15.98 kB / 298.4 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.0134, allocations: 4 kB / 298.4 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.01357, allocations: 83.91 kB / 298.5 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.01358, allocations: 15.92 kB / 298.5 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.01366, allocations: 8 kB / 298.5 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.01367, allocations: 16 kB / 298.5 MB, free: 8 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.753e-05/0.01376, allocations: 132.5 kB / 298.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.01379, allocations: 23.97 kB / 298.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.01391, allocations: 137.4 kB / 298.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01391, allocations: 4 kB / 298.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01391, allocations: 0 / 298.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01392, allocations: 4 kB / 298.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.01427, allocations: 436.9 kB / 299.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01427, allocations: 4 kB / 299.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.0144, allocations: 43.97 kB / 299.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.01442, allocations: 27.81 kB / 299.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01443, allocations: 0 / 299.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.01444, allocations: 15.97 kB / 299.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01444, allocations: 3.984 kB / 299.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01444, allocations: 0 / 299.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.01465, allocations: 427 kB / 299.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.01468, allocations: 8 kB / 299.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.01476, allocations: 4 kB / 299.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.01479, allocations: 27.75 kB / 299.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.01479, allocations: 4 kB / 299.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.987e-05/0.01485, allocations: 96.62 kB / 299.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01485, allocations: 0 / 299.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.01507, allocations: 72 kB / 300 MB, free: 14.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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 6.094e-05/0.01513, allocations: 82.56 kB / 300 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.01526, allocations: 134.5 kB / 300.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.01527, allocations: 4 kB / 300.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.873e-05/0.01532, allocations: 58.62 kB / 300.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.01561, allocations: 107.4 kB / 300.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006123/0.02174, allocations: 0.7511 MB / 301.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.587e-05/0.0218, allocations: 112.6 kB / 301.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.814e-05/0.0219, allocations: 39 kB / 301.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.02202, allocations: 119.2 kB / 301.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02202, allocations: 0 / 301.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of Templates: time 0.004751/0.02677, allocations: 3.383 MB / 304.7 MB, free: 9.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.650326307862997]