Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001605/0.001605, 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.001645/0.001645, allocations: 212.9 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.583/1.583, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.189/0.189, allocations: 38.54 MB / 353.2 MB, free: 12.3 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.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",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.00201/0.00201, allocations: 59.91 kB / 493.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3425, allocations: 62.46 MB / 0.5427 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006272/0.3487, allocations: 4.256 MB / 0.5469 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.3506, allocations: 0.9045 MB / 0.5477 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.3507, allocations: 15.31 kB / 0.5478 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.3509, allocations: 53.77 kB / 0.5478 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006831/0.3516, allocations: 249.6 kB / 0.548 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.3519, allocations: 106.3 kB / 0.5481 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006269/0.3525, allocations: 0.4951 MB / 0.5486 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.3528, allocations: 92.08 kB / 0.5487 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004676/0.3532, allocations: 241.6 kB / 0.5489 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.3538, allocations: 279.9 kB / 0.5492 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.3538, allocations: 23.44 kB / 0.5492 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.338e-05/0.3539, allocations: 23.31 kB / 0.5493 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.3541, allocations: 155.5 kB / 0.5494 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.3543, allocations: 144.7 kB / 0.5495 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.3548, allocations: 377.6 kB / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3548, allocations: 0 / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3548, allocations: 0 / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.3548, allocations: 0 / 0.5499 GB, free: 10.91 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001243/0.3561, allocations: 0.5929 MB / 0.5505 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3561, allocations: 14.61 kB / 0.5505 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.053e-05/0.3562, allocations: 6.625 kB / 0.5505 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.511e-05/0.3562, allocations: 64.61 kB / 0.5506 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.161e-05/0.3563, allocations: 38.58 kB / 0.5506 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.3569, allocations: 325.4 kB / 0.5509 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.3569, allocations: 24.09 kB / 0.5509 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.357, allocations: 28.7 kB / 0.551 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.3575, allocations: 355.9 kB / 0.5513 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.3575, allocations: 3.938 kB / 0.5513 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.3576, allocations: 11.66 kB / 0.5513 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.3577, allocations: 25.31 kB / 0.5513 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.3581, allocations: 246.8 kB / 0.5516 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3599, allocations: 1.276 MB / 0.5528 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.3603, allocations: 153.5 kB / 0.553 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.3605, allocations: 94.34 kB / 0.5531 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3605, allocations: 9.5 kB / 0.5531 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3606, allocations: 37.28 kB / 0.5531 GB, free: 8.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.3606, allocations: 0 / 0.5531 GB, free: 8.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001531/0.3621, allocations: 0.6167 MB / 0.5537 GB, free: 7.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.3622, allocations: 83.2 kB / 0.5538 GB, free: 7.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.3625, allocations: 296.2 kB / 0.5541 GB, free: 7.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3625, allocations: 30.98 kB / 0.5541 GB, free: 7.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.3627, allocations: 220.8 kB / 0.5543 GB, free: 7.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.3628, allocations: 58.19 kB / 0.5544 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.191e-05/0.3629, allocations: 57.02 kB / 0.5544 GB, free: 7.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.363, allocations: 337.9 kB / 0.5547 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3631, allocations: 69.14 kB / 0.5548 GB, free: 6.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.3633, allocations: 162.4 kB / 0.555 GB, free: 6.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.3637, allocations: 252.3 kB / 0.5552 GB, free: 6.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3637, allocations: 6.031 kB / 0.5552 GB, free: 6.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005353/0.3642, allocations: 322.5 kB / 0.5555 GB, free: 6.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3642, allocations: 5.844 kB / 0.5555 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3642, allocations: 3.281 kB / 0.5555 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.3645, allocations: 54.12 kB / 0.5556 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.3647, allocations: 49.7 kB / 0.5556 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.3662, allocations: 1.501 MB / 0.5571 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.3663, allocations: 9.656 kB / 0.5571 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.3664, allocations: 18.05 kB / 0.5571 GB, free: 4.926 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 (28): * Single equations (assignments): 27 * 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.0002063/0.3666, allocations: 165.7 kB / 0.5573 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.3666, allocations: 29.47 kB / 0.5573 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/0.3671, allocations: 242.5 kB / 0.5575 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.3671, allocations: 4 kB / 0.5575 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3671, allocations: 0 / 0.5575 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3671, allocations: 3.984 kB / 0.5575 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000952/0.368, allocations: 0.6038 MB / 0.5581 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.368, allocations: 4 kB / 0.5581 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.3682, allocations: 19.94 kB / 0.5582 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.3684, allocations: 56.78 kB / 0.5582 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3684, allocations: 8 kB / 0.5582 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.3698, allocations: 1.498 MB / 0.5597 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3698, allocations: 4.031 kB / 0.5597 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.3703, allocations: 410.8 kB / 0.5601 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.3704, allocations: 23.84 kB / 0.5601 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.3704, allocations: 16.14 kB / 0.5601 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3706, allocations: 8 kB / 0.5601 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.3706, allocations: 11.97 kB / 0.5601 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3706, allocations: 8 kB / 0.5601 GB, free: 1.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.3709, allocations: 211.1 kB / 0.5603 GB, free: 1.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3709, allocations: 0 / 0.5603 GB, free: 1.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004261/0.3713, allocations: 64 kB / 0.5604 GB, free: 1.414 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * 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: 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.0008677/0.3722, allocations: 0.9372 MB / 0.5613 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000596/0.3727, allocations: 310.3 kB / 0.5616 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3727, allocations: 0 / 0.5616 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.3731, allocations: 203.5 kB / 0.5618 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.3737, allocations: 83.77 kB / 0.5619 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.3777, allocations: 3.048 MB / 0.5649 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.378, allocations: 215.3 kB / 0.5651 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.3782, allocations: 38.95 kB / 0.5651 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.3783, allocations: 103.4 kB / 0.5652 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3783, allocations: 0 / 0.5652 GB, free: 12.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.4111, allocations: 6.499 MB / 0.5716 GB, free: 5.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.47, allocations: 11.23 kB / 0.5716 GB, free: 5.91 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.438601355068386] Failed to read output from testmodel.py, exit status != 0: 12.636295136995614 12.655158684 12.296858166 Calling exit ...