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.0007713/0.0007713, allocations: 88.33 kB / 20.96 MB, free: 3.469 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.001111/0.001111, allocations: 161.3 kB / 24.27 MB, free: 164 kB / 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 0.9207/0.9207, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.2223/0.2223, allocations: 29.42 MB / 290.5 MB, free: 2.422 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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Frequency,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Frequency",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Frequency,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Frequency",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.768e-05, allocations: 2.312 kB / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.004465/0.004483, allocations: 5.196 MB / 373.6 MB, free: 6.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.005994, allocations: 1.079 MB / 374.6 MB, free: 5.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.006211, allocations: 27.75 kB / 374.7 MB, free: 5.477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.006429, allocations: 83.2 kB / 374.8 MB, free: 5.395 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005991/0.007029, allocations: 306 kB / 375.1 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.007292, allocations: 151.7 kB / 375.2 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000566/0.007858, allocations: 0.716 MB / 375.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.008056, allocations: 117.2 kB / 376 MB, free: 4.105 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.008549, allocations: 426.6 kB / 376.4 MB, free: 3.688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.008882, allocations: 295.2 kB / 376.7 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.008931, allocations: 36 kB / 376.8 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.444e-05/0.008986, allocations: 32 kB / 376.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.009104, allocations: 175.4 kB / 377 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.009235, allocations: 159.6 kB / 377.1 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.009601, allocations: 494.2 kB / 377.6 MB, free: 2.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.009603, allocations: 0 / 377.6 MB, free: 2.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.009604, allocations: 0 / 377.6 MB, free: 2.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.009609, allocations: 4 kB / 377.6 MB, free: 2.516 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008555/0.01046, allocations: 0.725 MB / 378.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.0105, allocations: 8.031 kB / 378.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.232e-05/0.01057, allocations: 82.72 kB / 378.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.304e-05/0.01066, allocations: 80.61 kB / 378.5 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.01112, allocations: 420.8 kB / 378.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.01114, allocations: 25.38 kB / 378.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.01118, allocations: 39.94 kB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.01161, allocations: 459.6 kB / 379.4 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.01162, allocations: 3.938 kB / 379.4 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.01164, allocations: 16 kB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.01165, allocations: 12 kB / 379.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.01196, allocations: 300.7 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.0132, allocations: 1.662 MB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.01337, allocations: 135.7 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.01344, allocations: 58.66 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.01346, allocations: 11.94 kB / 381.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.01349, allocations: 38.5 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.01349, allocations: 3.938 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.000844/0.01433, allocations: 0.5459 MB / 382.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.01439, allocations: 102.8 kB / 382.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.01469, allocations: 385.5 kB / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.01471, allocations: 25.7 kB / 382.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.01486, allocations: 288.1 kB / 383 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.01489, allocations: 55.53 kB / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.01496, allocations: 65.64 kB / 383.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01507, allocations: 346.8 kB / 383.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.01513, allocations: 43.98 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.01526, allocations: 190.8 kB / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.0155, allocations: 270.5 kB / 383.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.0155, allocations: 0 / 383.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003173/0.01582, allocations: 305.8 kB / 384.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01583, allocations: 8 kB / 384.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.01584, allocations: 8 kB / 384.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.01586, allocations: 4 kB / 384.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.01603, allocations: 75.84 kB / 384.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.01604, allocations: 8.062 kB / 384.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.419e-05/0.01613, allocations: 16.39 kB / 384.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.01614, allocations: 12 kB / 384.4 MB, free: 11.28 MB / 362.7 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.0001234/0.01626, allocations: 189.7 kB / 384.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.01631, allocations: 47.77 kB / 384.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.01651, allocations: 168.8 kB / 384.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01651, allocations: 3.984 kB / 384.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.01652, allocations: 8 kB / 384.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01652, allocations: 0 / 384.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.01694, allocations: 490.2 kB / 385.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01694, allocations: 0 / 385.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.01705, allocations: 39.91 kB / 385.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01705, allocations: 4 kB / 385.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.01706, allocations: 4 kB / 385.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.01706, allocations: 8.031 kB / 385.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01707, allocations: 0 / 385.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.01735, allocations: 408 kB / 385.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.01738, allocations: 35.7 kB / 385.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.01741, allocations: 7.938 kB / 385.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.01749, allocations: 4 kB / 385.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.01751, allocations: 15.95 kB / 385.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.01752, allocations: 12 kB / 385.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001572/0.01768, allocations: 251.2 kB / 386 MB, free: 9.527 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01768, allocations: 0 / 386 MB, free: 9.527 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.01794, allocations: 76 kB / 386.1 MB, free: 9.453 MB / 362.7 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.0004781/0.01841, allocations: 0.9376 MB / 387 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.01862, allocations: 148.8 kB / 387.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01862, allocations: 0 / 387.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.126e-05/0.01868, allocations: 64.06 kB / 387.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.01912, allocations: 100.3 kB / 387.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.02167, allocations: 3.339 MB / 390.7 MB, free: 4.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.02182, allocations: 247.7 kB / 390.9 MB, free: 4.355 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.02194, allocations: 47.25 kB / 391 MB, free: 4.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.02206, allocations: 144.5 kB / 391.1 MB, free: 4.172 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02206, allocations: 0 / 391.1 MB, free: 4.172 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.04308, allocations: 8.331 MB / 399.4 MB, free: 12.05 MB / 378.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.05, allocations: 6.875 kB / 399.5 MB, free: 12.05 MB / 378.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Frequency_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Frequency.fmu > PowerSystems_PowerSystems.Examples.Introductory.Frequency_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.Introductory.Frequency_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.Frequency_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_PowerSystems_Examples_Introductory_Frequency.fmu > PowerSystems_PowerSystems.Examples.Introductory.Frequency_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.963502311031334]