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.001486/0.001486, allocations: 84.23 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001474/0.001474, allocations: 167.8 kB / 23.96 MB, free: 4.145 MB / 14.72 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.519/1.519, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1806/0.1806, allocations: 29.44 MB / 290.1 MB, free: 3.27 MB / 270.1 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 2.375e-06/2.375e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.615e-05/4.852e-05, allocations: 2.281 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.008632/0.00868, allocations: 4.688 MB / 435.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.01191, allocations: 1.39 MB / 436.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000482/0.01239, allocations: 27.81 kB / 436.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.0129, allocations: 115 kB / 436.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009724/0.01387, allocations: 274.1 kB / 437.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.0143, allocations: 131.8 kB / 437.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.01536, allocations: 0.6145 MB / 437.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005741/0.01593, allocations: 287.3 kB / 438.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008161/0.01675, allocations: 347.1 kB / 438.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004964/0.01725, allocations: 199.4 kB / 438.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.45e-05/0.01733, allocations: 40 kB / 438.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.01744, allocations: 40 kB / 438.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.01762, allocations: 131.6 kB / 439 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.01786, allocations: 155.6 kB / 439.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.01856, allocations: 0.4985 MB / 439.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01857, allocations: 0 / 439.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.01857, allocations: 0 / 439.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.01859, allocations: 0 / 439.6 MB, free: 8.988 MB / 366.1 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.001586/0.02017, allocations: 0.654 MB / 440.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.02022, allocations: 12.03 kB / 440.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.02036, allocations: 44.66 kB / 440.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007649/0.02112, allocations: 348 kB / 440.7 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.02127, allocations: 84.95 kB / 440.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.544e-05/0.02135, allocations: 44.06 kB / 440.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008122/0.02217, allocations: 432.3 kB / 441.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.02219, allocations: 3.938 kB / 441.2 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.02223, allocations: 12 kB / 441.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.02224, allocations: 8 kB / 441.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006064/0.02285, allocations: 278.3 kB / 441.5 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.02528, allocations: 1.619 MB / 443.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.02566, allocations: 175.6 kB / 443.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.02583, allocations: 78.61 kB / 443.4 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.02585, allocations: 4 kB / 443.4 MB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.02589, allocations: 34.56 kB / 443.4 MB, free: 4.949 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.02589, allocations: 0 / 443.4 MB, free: 4.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.00155/0.02744, allocations: 0.636 MB / 444 MB, free: 4.277 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.02753, allocations: 102.8 kB / 444.1 MB, free: 4.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.0279, allocations: 296.7 kB / 444.4 MB, free: 3.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.02793, allocations: 37.64 kB / 444.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.02814, allocations: 252 kB / 444.7 MB, free: 3.562 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.02822, allocations: 71.44 kB / 444.8 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.02834, allocations: 65.98 kB / 444.9 MB, free: 3.422 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.02851, allocations: 342.7 kB / 445.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.02869, allocations: 76.56 kB / 445.3 MB, free: 3.004 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.02898, allocations: 197.5 kB / 445.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.02948, allocations: 291.2 kB / 445.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.02948, allocations: 4 kB / 445.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006414/0.03012, allocations: 325.2 kB / 446.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.03014, allocations: 8 kB / 446.1 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.03015, allocations: 4 kB / 446.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.03018, allocations: 4 kB / 446.1 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.03051, allocations: 75.91 kB / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/0.03053, allocations: 23.84 kB / 446.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.03073, allocations: 16.27 kB / 446.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.03077, allocations: 20 kB / 446.2 MB, free: 1.938 MB / 366.1 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 0.0002289/0.03099, allocations: 181.7 kB / 446.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.03107, allocations: 27.81 kB / 446.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.03152, allocations: 190.8 kB / 446.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.03152, allocations: 4 kB / 446.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.03153, allocations: 3.938 kB / 446.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.03154, allocations: 4 kB / 446.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009472/0.03248, allocations: 0.5027 MB / 447.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.03249, allocations: 8.031 kB / 447.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.03274, allocations: 43.97 kB / 447.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.03274, allocations: 0 / 447.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.03277, allocations: 7.938 kB / 447.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.03277, allocations: 0 / 447.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.03277, allocations: 4 kB / 447.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.03344, allocations: 448.1 kB / 447.6 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.0335, allocations: 27.81 kB / 447.6 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.03355, allocations: 11.94 kB / 447.7 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.03374, allocations: 12.03 kB / 447.7 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.03381, allocations: 12.08 kB / 447.7 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.03383, allocations: 15.91 kB / 447.7 MB, free: 384 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.03403, allocations: 195.1 kB / 447.9 MB, free: 188 kB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03404, allocations: 3.938 kB / 447.9 MB, free: 184 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.03449, allocations: 72 kB / 448 MB, free: 112 kB / 366.1 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 0.0001303/0.03462, allocations: 95.25 kB / 448 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.1913/0.2259, allocations: 187.3 kB / 448.2 MB, free: 30.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2259, allocations: 1.438 kB / 448.2 MB, free: 30.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.2261, allocations: 75.3 kB / 448.3 MB, free: 30.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007759/0.2269, allocations: 78.11 kB / 448.4 MB, free: 30.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.2284, allocations: 0.781 MB / 449.2 MB, free: 30.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.2286, allocations: 211.7 kB / 449.4 MB, free: 30.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.2287, allocations: 44.64 kB / 449.4 MB, free: 30.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.2288, allocations: 26.86 kB / 449.4 MB, free: 30.02 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2288, allocations: 1.125 kB / 449.4 MB, free: 30.02 MB / 366.1 MB Notification: Performance of Templates: time 0.007894/0.2367, allocations: 2.948 MB / 452.4 MB, free: 29.69 MB / 366.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.944022808223963] Failed to read output from testmodel.py, exit status != 0: 0.24641693755984306 0.25869815499999993 0.23710039499999996 Calling exit ...