Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.001801/0.001801, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.00221/0.00221, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.489/1.489, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.18/0.18, allocations: 29.43 MB / 290.1 MB, free: 3.266 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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.861e-05, allocations: 9.516 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006617/0.006645, allocations: 5.195 MB / 435.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.008608, allocations: 1.079 MB / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.008855, allocations: 27.75 kB / 437 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.009151, allocations: 83.2 kB / 437.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008232/0.009974, allocations: 306 kB / 437.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.01031, allocations: 147.7 kB / 437.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008943/0.0112, allocations: 0.7199 MB / 438.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.01144, allocations: 121.1 kB / 438.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006206/0.01207, allocations: 430.6 kB / 438.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005118/0.01258, allocations: 291.2 kB / 439.1 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/0.01264, allocations: 32 kB / 439.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.473e-05/0.01273, allocations: 32 kB / 439.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.01291, allocations: 175.4 kB / 439.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.01312, allocations: 163.6 kB / 439.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.01368, allocations: 482.4 kB / 439.9 MB, free: 8.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01369, allocations: 0 / 439.9 MB, free: 8.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01369, allocations: 0 / 439.9 MB, free: 8.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.0137, allocations: 4 kB / 439.9 MB, free: 8.652 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00124/0.01494, allocations: 0.7361 MB / 440.7 MB, free: 7.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.01497, allocations: 8.031 kB / 440.7 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.01507, allocations: 60.56 kB / 440.7 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000678/0.01575, allocations: 388.8 kB / 441.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.01578, allocations: 29.38 kB / 441.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.01584, allocations: 40.12 kB / 441.2 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.01653, allocations: 455.6 kB / 441.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.01654, allocations: 4 kB / 441.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.01659, allocations: 16 kB / 441.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.0166, allocations: 8 kB / 441.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.0171, allocations: 308.5 kB / 442 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.019, allocations: 1.593 MB / 443.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.01924, allocations: 139.6 kB / 443.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.01933, allocations: 58.61 kB / 443.7 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.01935, allocations: 4 kB / 443.7 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.01938, allocations: 38.72 kB / 443.8 MB, free: 4.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.01938, allocations: 0 / 443.8 MB, free: 4.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009611/0.02034, allocations: 0.5459 MB / 444.3 MB, free: 4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.02041, allocations: 106.8 kB / 444.4 MB, free: 3.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.02078, allocations: 361.5 kB / 444.8 MB, free: 3.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.0208, allocations: 25.7 kB / 444.8 MB, free: 3.477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.021, allocations: 292 kB / 445.1 MB, free: 3.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/0.02106, allocations: 67.44 kB / 445.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-05/0.02115, allocations: 61.66 kB / 445.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.02131, allocations: 346.8 kB / 445.6 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.02141, allocations: 51.67 kB / 445.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.02161, allocations: 186 kB / 445.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.02194, allocations: 266.6 kB / 446.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.02195, allocations: 4 kB / 446.1 MB, free: 2.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004488/0.0224, allocations: 297.3 kB / 446.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.02241, allocations: 4 kB / 446.4 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.02242, allocations: 8 kB / 446.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.02244, allocations: 4 kB / 446.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.0227, allocations: 75.84 kB / 446.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.02271, allocations: 4 kB / 446.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.02288, allocations: 12 kB / 446.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.0229, allocations: 16 kB / 446.5 MB, free: 1.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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.0001902/0.02309, allocations: 185.8 kB / 446.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.02317, allocations: 39.7 kB / 446.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.02346, allocations: 168.7 kB / 446.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.02347, allocations: 0 / 446.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.02347, allocations: 4 kB / 446.9 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.02348, allocations: 3.984 kB / 446.9 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005963/0.02407, allocations: 443.2 kB / 447.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.02408, allocations: 4.422 kB / 447.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.02427, allocations: 35.92 kB / 447.3 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.02428, allocations: 0 / 447.3 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.02429, allocations: 16.03 kB / 447.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.0243, allocations: 0 / 447.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0243, allocations: 4.094 kB / 447.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.02474, allocations: 408.1 kB / 447.8 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.02479, allocations: 35.7 kB / 447.8 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.02483, allocations: 4 kB / 447.8 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.025, allocations: 4 kB / 447.8 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.02503, allocations: 16.02 kB / 447.8 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.02504, allocations: 4 kB / 447.8 MB, free: 240 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.02528, allocations: 235.2 kB / 448 MB, free: 8 kB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02528, allocations: 0 / 448 MB, free: 8 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.1977/0.223, allocations: 85.95 kB / 448.1 MB, free: 29.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.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 (18): * Single equations (assignments): 17 * 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.0001479/0.2231, allocations: 94.34 kB / 448.2 MB, free: 29.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003883/0.2235, allocations: 148.1 kB / 448.4 MB, free: 29.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2235, allocations: 0 / 448.4 MB, free: 29.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.2236, allocations: 51.73 kB / 448.4 MB, free: 29.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/0.2244, allocations: 96.58 kB / 448.5 MB, free: 29.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2257, allocations: 0.7764 MB / 449.3 MB, free: 29.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.226, allocations: 238 kB / 449.5 MB, free: 29.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.2261, allocations: 46.52 kB / 449.6 MB, free: 29.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.2262, allocations: 28.88 kB / 449.6 MB, free: 29.4 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2262, allocations: 0 / 449.6 MB, free: 29.4 MB / 366.1 MB Notification: Performance of Templates: time 0.009305/0.2355, allocations: 3.239 MB / 452.8 MB, free: 29.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.797948621213436] Failed to read output from testmodel.py, exit status != 0: 0.2442786507308483 0.25702741199999996 0.240590732 Calling exit ...