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/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.001788/0.001788, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00224/0.00224, allocations: 213.4 kB / 24.52 MB, free: 3.941 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.568/1.568, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.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.1956/0.1956, allocations: 38.55 MB / 353.2 MB, free: 12.31 MB / 286.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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 67.88 kB / 493.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.346, allocations: 62.47 MB / 0.5427 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005207/0.3512, allocations: 3.411 MB / 0.546 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.3534, allocations: 1.379 MB / 0.5474 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.3535, allocations: 13.84 kB / 0.5474 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008295/0.3543, allocations: 248.1 kB / 0.5476 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006116/0.355, allocations: 282 kB / 0.5479 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.3552, allocations: 114.5 kB / 0.548 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.3556, allocations: 337.9 kB / 0.5483 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002739/0.3559, allocations: 115.8 kB / 0.5484 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.3562, allocations: 168.4 kB / 0.5486 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.3565, allocations: 166.5 kB / 0.5488 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3565, allocations: 13.31 kB / 0.5488 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.3569, allocations: 268.8 kB / 0.549 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.3571, allocations: 94.95 kB / 0.5491 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3572, allocations: 88.62 kB / 0.5492 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.3577, allocations: 347.1 kB / 0.5495 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3577, allocations: 0 / 0.5495 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3577, allocations: 5.5 kB / 0.5495 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3577, allocations: 0 / 0.5495 GB, free: 11.12 MB / 398.1 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.0006912/0.3584, allocations: 449.9 kB / 0.55 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3584, allocations: 14.14 kB / 0.55 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.702e-05/0.3585, allocations: 4.625 kB / 0.55 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.595e-05/0.3585, allocations: 58.42 kB / 0.55 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008716/0.3594, allocations: 91.69 kB / 0.5501 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.3598, allocations: 211.1 kB / 0.5503 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.3598, allocations: 16.59 kB / 0.5503 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.3598, allocations: 18.98 kB / 0.5504 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.3604, allocations: 323.2 kB / 0.5507 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3604, allocations: 0 / 0.5507 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.3604, allocations: 5.469 kB / 0.5507 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.3604, allocations: 16.72 kB / 0.5507 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.3609, allocations: 288.8 kB / 0.551 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.3626, allocations: 1.217 MB / 0.5522 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.363, allocations: 150.4 kB / 0.5523 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.515e-05/0.3631, allocations: 54.55 kB / 0.5524 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3631, allocations: 2.5 kB / 0.5524 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.3632, allocations: 36.8 kB / 0.5524 GB, free: 8.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.3632, allocations: 0 / 0.5524 GB, free: 8.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006399/0.3638, allocations: 295.3 kB / 0.5527 GB, free: 8.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.3639, allocations: 79.45 kB / 0.5528 GB, free: 8.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.3641, allocations: 200.2 kB / 0.5529 GB, free: 8.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.3641, allocations: 25.7 kB / 0.553 GB, free: 8.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.3643, allocations: 172.8 kB / 0.5531 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.3643, allocations: 50.7 kB / 0.5532 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.3644, allocations: 40.83 kB / 0.5532 GB, free: 8.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3645, allocations: 332.5 kB / 0.5535 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.3646, allocations: 49.47 kB / 0.5536 GB, free: 7.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.3648, allocations: 138.1 kB / 0.5537 GB, free: 7.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.3651, allocations: 224.8 kB / 0.5539 GB, free: 7.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.3651, allocations: 5.156 kB / 0.5539 GB, free: 7.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003575/0.3654, allocations: 225.5 kB / 0.5541 GB, free: 7.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3654, allocations: 6.75 kB / 0.5542 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3655, allocations: 8.234 kB / 0.5542 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3655, allocations: 8.531 kB / 0.5542 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.3656, allocations: 43.3 kB / 0.5542 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.3656, allocations: 7.938 kB / 0.5542 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3658, allocations: 8.562 kB / 0.5542 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.3658, allocations: 10.09 kB / 0.5542 GB, free: 7.277 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.3659, allocations: 164.8 kB / 0.5544 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.366, allocations: 15.78 kB / 0.5544 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.3663, allocations: 147.2 kB / 0.5546 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3663, allocations: 1.219 kB / 0.5546 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3663, allocations: 5.188 kB / 0.5546 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3663, allocations: 1.188 kB / 0.5546 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/0.3672, allocations: 0.6259 MB / 0.5552 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3672, allocations: 7.812 kB / 0.5552 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3673, allocations: 25.58 kB / 0.5552 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3673, allocations: 7.938 kB / 0.5552 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.3673, allocations: 5.125 kB / 0.5552 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.3673, allocations: 16.8 kB / 0.5552 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3674, allocations: 3.625 kB / 0.5552 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.3677, allocations: 330.5 kB / 0.5555 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.3677, allocations: 32.77 kB / 0.5556 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.3678, allocations: 8.812 kB / 0.5556 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3679, allocations: 4.219 kB / 0.5556 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.368, allocations: 32.53 kB / 0.5556 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.368, allocations: 7.781 kB / 0.5556 GB, free: 6.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.3681, allocations: 140.6 kB / 0.5558 GB, free: 5.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3681, allocations: 0 / 0.5558 GB, free: 5.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.3685, allocations: 47.12 kB / 0.5558 GB, free: 5.98 MB / 398.1 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 () * Number of clocked 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 (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.0006674/0.3691, allocations: 0.8684 MB / 0.5567 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.3694, allocations: 143.9 kB / 0.5568 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3694, allocations: 0 / 0.5568 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.3695, allocations: 59.19 kB / 0.5569 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.37, allocations: 44.72 kB / 0.5569 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.3728, allocations: 2.42 MB / 0.5593 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.373, allocations: 147.9 kB / 0.5594 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.3731, allocations: 49.64 kB / 0.5594 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3732, allocations: 59.41 kB / 0.5595 GB, free: 2.152 MB / 398.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3732, allocations: 0 / 0.5595 GB, free: 2.152 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.3965, allocations: 3.779 MB / 0.5632 GB, free: 14.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 11.5 kB / 0.5632 GB, free: 14.5 MB / 414.1 MB " [Timeout remaining time 648] (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/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.77304537803866] Failed to read output from testmodel.py, exit status != 0: 12.007154006045312 12.02547863 11.664041142 Calling exit ...