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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1716/0.1716, allocations: 38.03 MB / 329.7 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 60.22 kB / 398.9 MB, free: 33.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.08451, allocations: 58.06 MB / 457 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005875/0.09042, allocations: 5.436 MB / 462.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.09199, allocations: 1.107 MB / 463.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.09221, allocations: 19.88 kB / 463.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.09245, allocations: 79.22 kB / 463.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005949/0.09305, allocations: 298.3 kB / 463.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.09332, allocations: 143.8 kB / 464 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005834/0.09391, allocations: 0.6929 MB / 464.7 MB, free: 148 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.09419, allocations: 176.7 kB / 464.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.09452, allocations: 306.6 kB / 465.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004436/0.09497, allocations: 326.8 kB / 465.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.09504, allocations: 32 kB / 465.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.868e-05/0.09513, allocations: 36 kB / 465.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.09528, allocations: 163.5 kB / 465.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.0955, allocations: 238.8 kB / 466 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.0959, allocations: 482.2 kB / 466.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.09592, allocations: 4 kB / 466.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09592, allocations: 0 / 466.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.09594, allocations: 0 / 466.4 MB, free: 14.41 MB / 350.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.001165/0.09711, allocations: 0.7968 MB / 467.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.09715, allocations: 11.89 kB / 467.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.632e-05/0.09724, allocations: 82.66 kB / 467.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.09732, allocations: 56.28 kB / 467.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/0.0979, allocations: 431.9 kB / 467.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.09795, allocations: 29 kB / 467.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.628e-05/0.09802, allocations: 36 kB / 467.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.09866, allocations: 459.6 kB / 468.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.09868, allocations: 0 / 468.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.09873, allocations: 16 kB / 468.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.09874, allocations: 8 kB / 468.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.0992, allocations: 304.7 kB / 468.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.101, allocations: 1.771 MB / 470.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1013, allocations: 151.6 kB / 470.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.1013, allocations: 54.62 kB / 470.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1014, allocations: 4 kB / 470.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1014, allocations: 38.56 kB / 470.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.1014, allocations: 0 / 470.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008923/0.1023, allocations: 0.6082 MB / 471.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.1024, allocations: 110.9 kB / 471.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.1027, allocations: 369.5 kB / 471.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1027, allocations: 33.7 kB / 471.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1029, allocations: 279.3 kB / 472 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.1029, allocations: 59.2 kB / 472.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.103, allocations: 61.59 kB / 472.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1031, allocations: 346.8 kB / 472.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.1032, allocations: 52.05 kB / 472.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.1034, allocations: 194.5 kB / 472.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.1036, allocations: 266.6 kB / 473 MB, free: 7.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1036, allocations: 0 / 473 MB, free: 7.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003816/0.104, allocations: 288.7 kB / 473.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1041, allocations: 8.625 kB / 473.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1041, allocations: 4 kB / 473.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.1041, allocations: 15.94 kB / 473.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.1043, allocations: 67.91 kB / 473.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.1044, allocations: 8 kB / 473.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.1045, allocations: 15.94 kB / 473.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.1046, allocations: 19.94 kB / 473.4 MB, free: 6.883 MB / 350.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.0001601/0.1047, allocations: 177.6 kB / 473.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.1048, allocations: 39.53 kB / 473.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.1051, allocations: 172.7 kB / 473.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1051, allocations: 0 / 473.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1051, allocations: 3.984 kB / 473.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1051, allocations: 4 kB / 473.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.1057, allocations: 0.5264 MB / 474.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1057, allocations: 4 kB / 474.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.1059, allocations: 39.92 kB / 474.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.1059, allocations: 0 / 474.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1059, allocations: 8.031 kB / 474.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1059, allocations: 0 / 474.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1059, allocations: 8.328 kB / 474.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.1063, allocations: 399 kB / 474.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.1064, allocations: 112.6 kB / 474.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.1065, allocations: 12.03 kB / 474.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1066, allocations: 7.938 kB / 474.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.1067, allocations: 11.98 kB / 474.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.1067, allocations: 4 kB / 474.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.1069, allocations: 255.2 kB / 475.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1069, allocations: 0 / 475.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003957/0.1073, allocations: 72 kB / 475.2 MB, free: 4.945 MB / 350.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.0005835/0.1079, allocations: 0.9339 MB / 476.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.1082, allocations: 164.4 kB / 476.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1082, allocations: 0 / 476.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.1083, allocations: 59.91 kB / 476.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.109, allocations: 95.44 kB / 476.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.1124, allocations: 3.438 MB / 479.9 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1128, allocations: 0.8425 MB / 480.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.113, allocations: 39.27 kB / 480.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.1132, allocations: 151.4 kB / 481 MB, free: 14.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1132, allocations: 0 / 481 MB, free: 14.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.1358, allocations: 6.906 MB / 487.9 MB, free: 8.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.16, allocations: 15.92 kB / 487.9 MB, free: 8.117 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Frequency_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Frequency.fmu > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)