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.0008663/0.0008663, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001048/0.001048, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 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.8799/0.8799, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2089/0.2089, allocations: 29.41 MB / 290.1 MB, free: 2.438 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 2.425e-06/2.425e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.295e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.004967/0.00499, allocations: 5.184 MB / 435.4 MB, free: 8.398 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.006378, allocations: 1.087 MB / 436.5 MB, free: 7.309 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.006556, allocations: 23.75 kB / 436.5 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.00675, allocations: 83.2 kB / 436.6 MB, free: 7.203 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.007253, allocations: 314 kB / 436.9 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.007447, allocations: 143.7 kB / 437 MB, free: 6.754 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.007915, allocations: 0.7198 MB / 437.7 MB, free: 6.031 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.008103, allocations: 117.1 kB / 437.9 MB, free: 5.906 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.008498, allocations: 434.6 kB / 438.3 MB, free: 5.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.008798, allocations: 299.1 kB / 438.6 MB, free: 5.188 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.008843, allocations: 32 kB / 438.6 MB, free: 5.156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-05/0.00889, allocations: 36 kB / 438.6 MB, free: 5.121 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.009004, allocations: 167.5 kB / 438.8 MB, free: 4.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.009127, allocations: 159.6 kB / 439 MB, free: 4.801 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.009498, allocations: 494.3 kB / 439.4 MB, free: 4.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.0095, allocations: 4 kB / 439.4 MB, free: 4.312 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.009502, allocations: 0 / 439.4 MB, free: 4.312 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.009508, allocations: 0 / 439.4 MB, free: 4.312 MB / 410.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.001136/0.01064, allocations: 0.7211 MB / 440.2 MB, free: 3.559 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.01069, allocations: 19.97 kB / 440.2 MB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.08e-05/0.01075, allocations: 74.72 kB / 440.3 MB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.01081, allocations: 56.56 kB / 440.3 MB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.01126, allocations: 388.8 kB / 440.7 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.01128, allocations: 25.38 kB / 440.7 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.01132, allocations: 39.94 kB / 440.8 MB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.01171, allocations: 459.6 kB / 441.2 MB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.01173, allocations: 4 kB / 441.2 MB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.01175, allocations: 16 kB / 441.2 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.01176, allocations: 12 kB / 441.2 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.01206, allocations: 304.5 kB / 441.5 MB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.01325, allocations: 1.655 MB / 443.2 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.01341, allocations: 143.7 kB / 443.3 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.01347, allocations: 50.61 kB / 443.4 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.01349, allocations: 3.938 kB / 443.4 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.01351, allocations: 46.5 kB / 443.4 MB, free: 76 kB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.01352, allocations: 0 / 443.4 MB, free: 76 kB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.1479/0.1614, allocations: 0.5395 MB / 444 MB, free: 54.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.1615, allocations: 107.5 kB / 444.1 MB, free: 54.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.1617, allocations: 382 kB / 444.4 MB, free: 54.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.1617, allocations: 28.77 kB / 444.5 MB, free: 54.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.1618, allocations: 286.2 kB / 444.7 MB, free: 54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1618, allocations: 62.36 kB / 444.8 MB, free: 53.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.1618, allocations: 55.33 kB / 444.9 MB, free: 53.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.738e-05/0.1619, allocations: 350.3 kB / 445.2 MB, free: 53.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1619, allocations: 44.33 kB / 445.2 MB, free: 53.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.162, allocations: 190.2 kB / 445.4 MB, free: 53.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1622, allocations: 271.1 kB / 445.7 MB, free: 53.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1622, allocations: 6.938 kB / 445.7 MB, free: 53.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002114/0.1624, allocations: 286.7 kB / 446 MB, free: 53.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1624, allocations: 6.625 kB / 446 MB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1624, allocations: 6.219 kB / 446 MB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1624, allocations: 9.844 kB / 446 MB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1626, allocations: 74.14 kB / 446.1 MB, free: 53.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1626, allocations: 9.375 kB / 446.1 MB, free: 53.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.769e-05/0.1627, allocations: 19.8 kB / 446.1 MB, free: 53.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1627, allocations: 12.22 kB / 446.1 MB, free: 53.14 MB / 410.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.000111/0.1628, allocations: 183.9 kB / 446.3 MB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1628, allocations: 38.67 kB / 446.3 MB, free: 52.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.163, allocations: 165.4 kB / 446.5 MB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.163, allocations: 3.25 kB / 446.5 MB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.163, allocations: 6.156 kB / 446.5 MB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.163, allocations: 1.5 kB / 446.5 MB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.1633, allocations: 495.8 kB / 447 MB, free: 52.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1633, allocations: 0 / 447 MB, free: 52.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.757e-05/0.1634, allocations: 40.69 kB / 447 MB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1634, allocations: 0 / 447 MB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1635, allocations: 7.094 kB / 447 MB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1635, allocations: 3.125 kB / 447 MB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1635, allocations: 3.875 kB / 447 MB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.1637, allocations: 400.4 kB / 447.4 MB, free: 52.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.1637, allocations: 42.53 kB / 447.5 MB, free: 52.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1637, allocations: 0 / 447.5 MB, free: 52.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.1638, allocations: 7.25 kB / 447.5 MB, free: 52.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.1638, allocations: 17.27 kB / 447.5 MB, free: 52.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.1638, allocations: 7.219 kB / 447.5 MB, free: 52.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1639, allocations: 254.4 kB / 447.8 MB, free: 52.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1639, allocations: 0 / 447.8 MB, free: 52.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.1642, allocations: 72.47 kB / 447.8 MB, free: 52.06 MB / 410.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.0002655/0.1644, allocations: 0.9291 MB / 448.8 MB, free: 51.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1646, allocations: 155.8 kB / 448.9 MB, free: 51.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1646, allocations: 0 / 448.9 MB, free: 51.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/0.1647, allocations: 55.36 kB / 449 MB, free: 51.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1651, allocations: 91.17 kB / 449.1 MB, free: 51.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.1669, allocations: 3.323 MB / 452.4 MB, free: 48.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.167, allocations: 242.5 kB / 452.6 MB, free: 48.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.561e-05/0.1671, allocations: 58.45 kB / 452.7 MB, free: 48.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.747e-05/0.1672, allocations: 148.8 kB / 452.8 MB, free: 48.63 MB / 410.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1672, allocations: 0 / 452.8 MB, free: 48.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.1846, allocations: 8.035 MB / 460.9 MB, free: 47.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/6.889, allocations: 8.344 kB / 460.9 MB, free: 47.18 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Frequency.fmu > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.672411774285138] Failed to read output from testmodel.py, exit status != 0: 6.9686821876093745 6.975442665 6.964504913 Calling exit ...