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.001761/0.001761, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00212/0.00212, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1977/0.1977, allocations: 38.56 MB / 352.5 MB, free: 12.32 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",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.002269/0.002269, allocations: 79.81 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3322, allocations: 62.46 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006343/0.3386, allocations: 4.262 MB / 0.5461 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3405, allocations: 0.9098 MB / 0.547 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.3407, allocations: 23.72 kB / 0.547 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.3409, allocations: 53.77 kB / 0.5471 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006633/0.3415, allocations: 245.6 kB / 0.5473 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.3418, allocations: 98.02 kB / 0.5474 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.3423, allocations: 0.4913 MB / 0.5479 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.3426, allocations: 96.27 kB / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003813/0.343, allocations: 237.9 kB / 0.5482 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/0.3434, allocations: 279.6 kB / 0.5485 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.3435, allocations: 23.09 kB / 0.5485 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.761e-05/0.3435, allocations: 24.53 kB / 0.5485 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.3437, allocations: 146 kB / 0.5486 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.3439, allocations: 145.3 kB / 0.5488 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.3443, allocations: 372.9 kB / 0.5491 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3443, allocations: 5.094 kB / 0.5491 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3443, allocations: 3.984 kB / 0.5491 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.3443, allocations: 0 / 0.5491 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.00117/0.3455, allocations: 0.5937 MB / 0.5497 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3456, allocations: 12.8 kB / 0.5497 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.361e-05/0.3456, allocations: 60.25 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.3457, allocations: 43.05 kB / 0.5498 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.3463, allocations: 322.2 kB / 0.5501 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.3464, allocations: 18.62 kB / 0.5502 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.3464, allocations: 25.34 kB / 0.5502 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.347, allocations: 360.5 kB / 0.5505 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.347, allocations: 0 / 0.5505 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.347, allocations: 14.94 kB / 0.5505 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.3471, allocations: 26.34 kB / 0.5506 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004351/0.3476, allocations: 237.2 kB / 0.5508 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.3495, allocations: 1.284 MB / 0.5521 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.3499, allocations: 161.4 kB / 0.5522 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.3501, allocations: 89.86 kB / 0.5523 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3501, allocations: 2.25 kB / 0.5523 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.3502, allocations: 33.34 kB / 0.5523 GB, free: 8.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.3502, allocations: 0 / 0.5523 GB, free: 8.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001376/0.3515, allocations: 0.6252 MB / 0.5529 GB, free: 7.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.3516, allocations: 79.39 kB / 0.553 GB, free: 7.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.3519, allocations: 300.4 kB / 0.5533 GB, free: 7.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3519, allocations: 26.86 kB / 0.5533 GB, free: 7.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.3521, allocations: 220.7 kB / 0.5535 GB, free: 7.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.3522, allocations: 61.81 kB / 0.5536 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.3522, allocations: 56.97 kB / 0.5536 GB, free: 7.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3524, allocations: 334.4 kB / 0.554 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.3525, allocations: 67.89 kB / 0.554 GB, free: 6.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.3527, allocations: 170.8 kB / 0.5542 GB, free: 6.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.3531, allocations: 253.8 kB / 0.5544 GB, free: 6.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3531, allocations: 1.406 kB / 0.5544 GB, free: 6.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005832/0.3537, allocations: 321.8 kB / 0.5547 GB, free: 6.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3537, allocations: 6.375 kB / 0.5548 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3537, allocations: 3.562 kB / 0.5548 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.3539, allocations: 53.34 kB / 0.5548 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.3541, allocations: 50.16 kB / 0.5549 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.3558, allocations: 1.505 MB / 0.5563 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.356, allocations: 13.64 kB / 0.5563 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.356, allocations: 9.781 kB / 0.5563 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.0002304/0.3563, allocations: 174.1 kB / 0.5565 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.3563, allocations: 24.83 kB / 0.5565 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.3568, allocations: 236.6 kB / 0.5568 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3568, allocations: 4 kB / 0.5568 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3568, allocations: 11.86 kB / 0.5568 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3568, allocations: 0 / 0.5568 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009853/0.3578, allocations: 0.5967 MB / 0.5574 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3578, allocations: 0 / 0.5574 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.3579, allocations: 23.98 kB / 0.5574 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.3581, allocations: 56.8 kB / 0.5574 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.3581, allocations: 4 kB / 0.5574 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.3595, allocations: 1.498 MB / 0.5589 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3595, allocations: 3.984 kB / 0.5589 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.3601, allocations: 418.5 kB / 0.5593 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.3602, allocations: 23.84 kB / 0.5593 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.3602, allocations: 11.98 kB / 0.5593 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3603, allocations: 11.94 kB / 0.5593 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.3604, allocations: 15.97 kB / 0.5594 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3604, allocations: 4 kB / 0.5594 GB, free: 1.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.3606, allocations: 207.2 kB / 0.5596 GB, free: 1.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3606, allocations: 4 kB / 0.5596 GB, free: 1.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004201/0.361, allocations: 72 kB / 0.5596 GB, free: 1.402 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.0009445/0.362, allocations: 0.9464 MB / 0.5606 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000617/0.3626, allocations: 306.2 kB / 0.5609 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3626, allocations: 0 / 0.5609 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.363, allocations: 202.6 kB / 0.561 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.3635, allocations: 63.3 kB / 0.5611 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.3675, allocations: 3.066 MB / 0.5641 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3678, allocations: 199.5 kB / 0.5643 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.3679, allocations: 42.97 kB / 0.5643 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.3681, allocations: 99.39 kB / 0.5644 GB, free: 12.24 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3681, allocations: 0 / 0.5644 GB, free: 12.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.4079, allocations: 6.787 MB / 0.5711 GB, free: 5.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.99, allocations: 4.062 kB / 0.5711 GB, free: 5.613 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.966689659748226] Failed to read output from testmodel.py, exit status != 0: 12.102996124885976 12.130553449 11.781249751 Calling exit ...