Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001313/0.001313, 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.001455/0.001455, allocations: 211.9 kB / 24.51 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.1889/0.1889, 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.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.003206/0.003206, allocations: 59.91 kB / 493.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3387, allocations: 62.45 MB / 0.5427 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006397/0.3451, allocations: 4.452 MB / 0.547 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.3481, allocations: 1.486 MB / 0.5485 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.3483, allocations: 16.56 kB / 0.5485 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.3493, allocations: 298.4 kB / 0.5488 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006839/0.35, allocations: 274.7 kB / 0.5491 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.3508, allocations: 265.5 kB / 0.5493 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007737/0.3515, allocations: 0.6087 MB / 0.5499 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.352, allocations: 217.8 kB / 0.5501 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005141/0.3525, allocations: 281.7 kB / 0.5504 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005446/0.353, allocations: 347.3 kB / 0.5507 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.3531, allocations: 35.25 kB / 0.5507 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000359/0.3534, allocations: 152.5 kB / 0.5509 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.3537, allocations: 233.6 kB / 0.5511 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.354, allocations: 202 kB / 0.5513 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007708/0.3547, allocations: 0.6112 MB / 0.5519 GB, free: 9.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3547, allocations: 0 / 0.5519 GB, free: 9.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3547, allocations: 0 / 0.5519 GB, free: 9.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3547, allocations: 0 / 0.5519 GB, free: 9.457 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001555/0.3563, allocations: 0.7148 MB / 0.5526 GB, free: 8.879 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.3564, allocations: 12.89 kB / 0.5526 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.754e-05/0.3564, allocations: 11.56 kB / 0.5526 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.3565, allocations: 88.7 kB / 0.5527 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008293/0.3573, allocations: 121.7 kB / 0.5528 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.3581, allocations: 349.7 kB / 0.5532 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.3581, allocations: 36.64 kB / 0.5532 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.3583, allocations: 52.05 kB / 0.5532 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.3595, allocations: 0.6615 MB / 0.5539 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.3595, allocations: 5.109 kB / 0.5539 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.3596, allocations: 24.8 kB / 0.5539 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001823/0.3598, allocations: 48.03 kB / 0.554 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009376/0.3607, allocations: 0.4883 MB / 0.5544 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004095/0.3648, allocations: 2.984 MB / 0.5574 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.3653, allocations: 229.3 kB / 0.5576 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3655, allocations: 113.7 kB / 0.5577 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.3655, allocations: 7.984 kB / 0.5577 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.3656, allocations: 38.56 kB / 0.5577 GB, free: 4.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.504e-06/0.3656, allocations: 0 / 0.5577 GB, free: 4.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001692/0.3673, allocations: 0.8283 MB / 0.5585 GB, free: 3.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.3673, allocations: 81.11 kB / 0.5586 GB, free: 3.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.3678, allocations: 336.4 kB / 0.5589 GB, free: 3.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3678, allocations: 33.69 kB / 0.559 GB, free: 3.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.3681, allocations: 295.9 kB / 0.5592 GB, free: 2.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/0.3682, allocations: 99.2 kB / 0.5593 GB, free: 2.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.3683, allocations: 86.08 kB / 0.5594 GB, free: 2.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3685, allocations: 346.7 kB / 0.5598 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.3688, allocations: 132.8 kB / 0.5599 GB, free: 2.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.3691, allocations: 329.2 kB / 0.5602 GB, free: 1.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.3698, allocations: 0.4964 MB / 0.5607 GB, free: 1.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3698, allocations: 0 / 0.5607 GB, free: 1.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001186/0.371, allocations: 0.5881 MB / 0.5613 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.371, allocations: 8 kB / 0.5613 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000676/0.3717, allocations: 334.4 kB / 0.5616 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/0.3722, allocations: 113.6 kB / 0.5617 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.3725, allocations: 91.83 kB / 0.5618 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.3757, allocations: 3.055 MB / 0.5648 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.376, allocations: 23.98 kB / 0.5648 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.3761, allocations: 20 kB / 0.5648 GB, free: 12.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000309/0.3764, allocations: 209.6 kB / 0.565 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.3765, allocations: 31.81 kB / 0.565 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005793/0.377, allocations: 324.9 kB / 0.5653 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3771, allocations: 8 kB / 0.5653 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3771, allocations: 8 kB / 0.5654 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3771, allocations: 0 / 0.5654 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.3783, allocations: 0.7527 MB / 0.5661 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.3783, allocations: 3.938 kB / 0.5661 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.3786, allocations: 51.97 kB / 0.5661 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.3786, allocations: 4 kB / 0.5661 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3787, allocations: 11.98 kB / 0.5662 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.3787, allocations: 8 kB / 0.5662 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3787, allocations: 0 / 0.5662 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/0.3794, allocations: 0.5082 MB / 0.5667 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.3795, allocations: 59.89 kB / 0.5667 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.3796, allocations: 4 kB / 0.5667 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.3798, allocations: 8 kB / 0.5667 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.3798, allocations: 35.73 kB / 0.5668 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3798, allocations: 8 kB / 0.5668 GB, free: 10.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002494/0.3801, allocations: 219.1 kB / 0.567 GB, free: 10.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3801, allocations: 0 / 0.567 GB, free: 10.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005428/0.3806, allocations: 96 kB / 0.5671 GB, free: 10.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * 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 (27): * Single equations (assignments): 26 * 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.001041/0.3817, allocations: 1.054 MB / 0.5681 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3827, allocations: 0.5647 MB / 0.5687 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3827, allocations: 3.938 kB / 0.5687 GB, free: 8.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.3829, allocations: 119.8 kB / 0.5688 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.3834, allocations: 68.14 kB / 0.5688 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005865/0.3893, allocations: 4.082 MB / 0.5728 GB, free: 4.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3896, allocations: 265.7 kB / 0.5731 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003111/0.3899, allocations: 107.2 kB / 0.5732 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.3902, allocations: 151.4 kB / 0.5733 GB, free: 3.574 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3902, allocations: 0 / 0.5733 GB, free: 3.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.4266, allocations: 8.164 MB / 0.5813 GB, free: 11.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.74, allocations: 9.5 kB / 0.5813 GB, free: 11.59 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.564768310985528] Failed to read output from testmodel.py, exit status != 0: 12.91054637695197 12.933478754 12.574047477 Calling exit ...