Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001201/0.001201, allocations: 179.4 kB / 8.351 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.823/1.823, allocations: 194.3 MB / 203.1 MB, free: 12.96 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001882/0.001882, allocations: 131.4 kB / 248.1 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1564/0.1564, allocations: 37.92 MB / 330.9 MB, free: 2.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.136e-05, allocations: 8 kB / 390.5 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2695, allocations: 53.22 MB / 443.7 MB, free: 17.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.3826, allocations: 88.26 MB / 0.5195 GB, free: 9.379 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.3829, allocations: 79.95 kB / 0.5196 GB, free: 9.301 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2475/0.6304, allocations: 13.05 MB / 0.5323 GB, free: 87.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6304, allocations: 1.094 kB / 0.5323 GB, free: 87.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.6305, allocations: 10.16 kB / 0.5323 GB, free: 87.96 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005196/0.631, allocations: 485.9 kB / 0.5328 GB, free: 87.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.631, allocations: 9.438 kB / 0.5328 GB, free: 87.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008116/0.6319, allocations: 99.19 kB / 0.5329 GB, free: 87.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.6322, allocations: 267.6 kB / 0.5331 GB, free: 87.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.6322, allocations: 6.062 kB / 0.5331 GB, free: 87.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.6323, allocations: 10.84 kB / 0.5331 GB, free: 87.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003146/0.6326, allocations: 193.7 kB / 0.5333 GB, free: 87.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.633, allocations: 279.4 kB / 0.5336 GB, free: 87.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.633, allocations: 4.984 kB / 0.5336 GB, free: 87.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.633, allocations: 11.38 kB / 0.5336 GB, free: 87.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-05/0.6331, allocations: 25.31 kB / 0.5336 GB, free: 87.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.6344, allocations: 1.241 MB / 0.5349 GB, free: 86.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.6347, allocations: 215.9 kB / 0.5351 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.6348, allocations: 46.75 kB / 0.5351 GB, free: 86.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.6348, allocations: 1.375 kB / 0.5351 GB, free: 86.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.6348, allocations: 37.25 kB / 0.5351 GB, free: 86.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.6348, allocations: 0 / 0.5351 GB, free: 86.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004506/0.6353, allocations: 219.2 kB / 0.5353 GB, free: 86.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.6353, allocations: 85.52 kB / 0.5354 GB, free: 86.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.6355, allocations: 158 kB / 0.5356 GB, free: 85.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.6355, allocations: 30.3 kB / 0.5356 GB, free: 85.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.6356, allocations: 169.8 kB / 0.5358 GB, free: 85.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.6356, allocations: 41.95 kB / 0.5358 GB, free: 85.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.6356, allocations: 4 kB / 0.5358 GB, free: 85.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.6357, allocations: 330.6 kB / 0.5361 GB, free: 85.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.6358, allocations: 36.11 kB / 0.5362 GB, free: 85.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.6359, allocations: 143.6 kB / 0.5363 GB, free: 85.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.636, allocations: 58.44 kB / 0.5364 GB, free: 85.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.636, allocations: 1.094 kB / 0.5364 GB, free: 85.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003243/0.6364, allocations: 194.7 kB / 0.5365 GB, free: 85.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.6364, allocations: 6.375 kB / 0.5366 GB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.6364, allocations: 3.625 kB / 0.5366 GB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.6365, allocations: 5.312 kB / 0.5366 GB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.6366, allocations: 47.92 kB / 0.5366 GB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.6367, allocations: 9.094 kB / 0.5366 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.6368, allocations: 11.09 kB / 0.5366 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.6368, allocations: 9.25 kB / 0.5366 GB, free: 85.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.208e-05/0.6369, allocations: 121.8 kB / 0.5367 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002097/0.6371, allocations: 124.6 kB / 0.5369 GB, free: 85.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.6371, allocations: 18.56 kB / 0.5369 GB, free: 85.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.6374, allocations: 127 kB / 0.537 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6374, allocations: 2.375 kB / 0.537 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6374, allocations: 0.5 kB / 0.537 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6374, allocations: 4.375 kB / 0.537 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007002/0.6381, allocations: 0.6019 MB / 0.5376 GB, free: 84.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.6382, allocations: 7.672 kB / 0.5376 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.6383, allocations: 27.95 kB / 0.5376 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.6383, allocations: 5.156 kB / 0.5376 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.6383, allocations: 8.906 kB / 0.5376 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.6383, allocations: 3.625 kB / 0.5377 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/0.6384, allocations: 8.312 kB / 0.5377 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.6387, allocations: 488 kB / 0.5381 GB, free: 84.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.6388, allocations: 96.89 kB / 0.5382 GB, free: 83.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.6388, allocations: 4.969 kB / 0.5382 GB, free: 83.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.6389, allocations: 7.656 kB / 0.5382 GB, free: 83.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.639, allocations: 22.94 kB / 0.5383 GB, free: 83.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.639, allocations: 9.25 kB / 0.5383 GB, free: 83.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.944e-05/0.6391, allocations: 124.5 kB / 0.5384 GB, free: 83.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6391, allocations: 0 / 0.5384 GB, free: 83.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.6395, allocations: 41.78 kB / 0.5384 GB, free: 83.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006102/0.6401, allocations: 1.98 MB / 0.5404 GB, free: 81.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.6403, allocations: 115 kB / 0.5405 GB, free: 81.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6404, allocations: 7.875 kB / 0.5405 GB, free: 81.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.6404, allocations: 55.17 kB / 0.5405 GB, free: 81.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.6408, allocations: 36.28 kB / 0.5406 GB, free: 81.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008466/0.6416, allocations: 403.3 kB / 0.5409 GB, free: 81.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.6419, allocations: 0.7625 MB / 0.5417 GB, free: 80.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.642, allocations: 46.55 kB / 0.5417 GB, free: 80.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.6421, allocations: 54.75 kB / 0.5418 GB, free: 80.85 MB / 378.7 MB Notification: Performance of SimCode: time 4.3e-07/0.6421, allocations: 0 / 0.5418 GB, free: 80.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.6605, allocations: 2.701 MB / 0.5444 GB, free: 80.69 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.6607, allocations: 138.3 kB / 0.5446 GB, free: 80.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.24, allocations: 3.688 kB / 0.5446 GB, free: 80.5 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)