Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001431/0.001431, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001475/0.001475, allocations: 214.9 kB / 23.74 MB, free: 4.656 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 8 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.1941/0.1941, allocations: 38.52 MB / 352.5 MB, free: 12.53 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.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",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.002114/0.002114, allocations: 74.48 kB / 492.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3811, allocations: 62.47 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.006061/0.3871, allocations: 3.558 MB / 0.5455 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.3896, allocations: 1.506 MB / 0.5469 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.3897, allocations: 9.219 kB / 0.547 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008523/0.3906, allocations: 275.7 kB / 0.5472 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006217/0.3912, allocations: 285.9 kB / 0.5475 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.3915, allocations: 110.7 kB / 0.5476 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.392, allocations: 331.9 kB / 0.5479 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.3923, allocations: 122.9 kB / 0.548 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.3926, allocations: 163.3 kB / 0.5482 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.3929, allocations: 161.5 kB / 0.5483 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.3929, allocations: 18.38 kB / 0.5484 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.3934, allocations: 320.8 kB / 0.5487 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.3936, allocations: 94.92 kB / 0.5488 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.3937, allocations: 108.5 kB / 0.5489 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.3942, allocations: 344.3 kB / 0.5492 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3942, allocations: 0 / 0.5492 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3942, allocations: 1.906 kB / 0.5492 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3942, allocations: 0 / 0.5492 GB, free: 10.96 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.0007314/0.395, allocations: 451.4 kB / 0.5496 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.395, allocations: 18.08 kB / 0.5496 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.544e-05/0.3951, allocations: 49.67 kB / 0.5497 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009239/0.396, allocations: 92.38 kB / 0.5498 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.3964, allocations: 216 kB / 0.55 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3964, allocations: 12.03 kB / 0.55 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.3965, allocations: 24.05 kB / 0.55 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.397, allocations: 321.2 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.397, allocations: 7.875 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.397, allocations: 9.344 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.3971, allocations: 12.97 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.3975, allocations: 284.3 kB / 0.5506 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.3994, allocations: 1.254 MB / 0.5518 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.4, allocations: 199.9 kB / 0.552 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.4001, allocations: 59.94 kB / 0.5521 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.4001, allocations: 10.11 kB / 0.5521 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.4001, allocations: 35.59 kB / 0.5521 GB, free: 8.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.4001, allocations: 0 / 0.5521 GB, free: 8.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009475/0.4011, allocations: 363.5 kB / 0.5525 GB, free: 8.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.4012, allocations: 78.64 kB / 0.5526 GB, free: 8.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.4014, allocations: 195.6 kB / 0.5527 GB, free: 8.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.4014, allocations: 30.55 kB / 0.5528 GB, free: 8.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.4015, allocations: 164.7 kB / 0.5529 GB, free: 7.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.4016, allocations: 49.3 kB / 0.553 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.4017, allocations: 49.88 kB / 0.553 GB, free: 7.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4018, allocations: 335.4 kB / 0.5533 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.832e-05/0.4019, allocations: 56.94 kB / 0.5534 GB, free: 7.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.4021, allocations: 146.7 kB / 0.5535 GB, free: 7.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.4024, allocations: 229.9 kB / 0.5538 GB, free: 7.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4024, allocations: 1.594 kB / 0.5538 GB, free: 7.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004839/0.4029, allocations: 257.8 kB / 0.554 GB, free: 7.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4029, allocations: 5.594 kB / 0.554 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.4029, allocations: 8.438 kB / 0.554 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/0.4032, allocations: 40.61 kB / 0.5541 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.4033, allocations: 45.69 kB / 0.5541 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.4047, allocations: 1.335 MB / 0.5554 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.4048, allocations: 13.42 kB / 0.5554 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.4049, allocations: 8.812 kB / 0.5554 GB, free: 5.613 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.405, allocations: 161.1 kB / 0.5556 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.4051, allocations: 21.03 kB / 0.5556 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.4055, allocations: 180.1 kB / 0.5558 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4055, allocations: 6.219 kB / 0.5558 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4055, allocations: 4.969 kB / 0.5558 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4055, allocations: 0 / 0.5558 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009922/0.4065, allocations: 0.5341 MB / 0.5563 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4065, allocations: 5.375 kB / 0.5563 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.194e-05/0.4066, allocations: 24.33 kB / 0.5563 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001443/0.4067, allocations: 36.05 kB / 0.5564 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.4068, allocations: 6.219 kB / 0.5564 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.4081, allocations: 1.316 MB / 0.5577 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4081, allocations: 1.281 kB / 0.5577 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.4085, allocations: 308.6 kB / 0.558 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.4085, allocations: 19.06 kB / 0.558 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.4085, allocations: 2.188 kB / 0.558 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4087, allocations: 6.375 kB / 0.558 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.4087, allocations: 20.66 kB / 0.558 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.4087, allocations: 8.75 kB / 0.558 GB, free: 3.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.4088, allocations: 145.1 kB / 0.5581 GB, free: 3.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4088, allocations: 0 / 0.5581 GB, free: 3.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.4092, allocations: 48.5 kB / 0.5582 GB, free: 3.109 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008203/0.41, allocations: 0.8373 MB / 0.559 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.4106, allocations: 261.3 kB / 0.5593 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4106, allocations: 0 / 0.5593 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.4109, allocations: 170.6 kB / 0.5594 GB, free: 1.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.4113, allocations: 38.72 kB / 0.5595 GB, free: 1.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.4143, allocations: 2.38 MB / 0.5618 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.4147, allocations: 0.7554 MB / 0.5625 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.4148, allocations: 37.61 kB / 0.5626 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.4149, allocations: 63.41 kB / 0.5626 GB, free: 14.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4149, allocations: 0 / 0.5626 GB, free: 14.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.4508, allocations: 4.115 MB / 0.5666 GB, free: 10.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.96, allocations: 7.438 kB / 0.5666 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.81666725804098] Failed to read output from testmodel.py, exit status != 0: 12.070903655141592 12.087669652 11.690207315 Calling exit ...