Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.001724/0.001724, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00196/0.00196, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.1852/0.1852, allocations: 38.52 MB / 352.4 MB, free: 12.52 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.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",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.002014/0.002014, allocations: 63.91 kB / 492.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 62.47 MB / 0.542 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006651/0.324, allocations: 4.647 MB / 0.5465 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.3269, allocations: 1.586 MB / 0.5481 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.3272, allocations: 16.41 kB / 0.5481 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009293/0.3281, allocations: 305.2 kB / 0.5484 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006492/0.3288, allocations: 268 kB / 0.5487 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.3295, allocations: 272.4 kB / 0.5489 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008535/0.3304, allocations: 0.6359 MB / 0.5495 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004452/0.3308, allocations: 248.4 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005018/0.3313, allocations: 302.7 kB / 0.5501 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006563/0.332, allocations: 410.7 kB / 0.5504 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.992e-05/0.3321, allocations: 41.41 kB / 0.5505 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.3324, allocations: 175.3 kB / 0.5507 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.3327, allocations: 242.9 kB / 0.5509 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.333, allocations: 275.8 kB / 0.5511 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008449/0.3338, allocations: 0.6737 MB / 0.5518 GB, free: 9.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3339, allocations: 1.406 kB / 0.5518 GB, free: 9.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3339, allocations: 0 / 0.5518 GB, free: 9.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.3339, allocations: 0 / 0.5518 GB, free: 9.078 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002006/0.3359, allocations: 0.8258 MB / 0.5526 GB, free: 8.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3359, allocations: 13.42 kB / 0.5526 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.336, allocations: 83.28 kB / 0.5527 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006955/0.3367, allocations: 126.9 kB / 0.5528 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3378, allocations: 437.2 kB / 0.5532 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.3378, allocations: 38.39 kB / 0.5533 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.338, allocations: 55.53 kB / 0.5533 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.339, allocations: 0.6866 MB / 0.554 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.3391, allocations: 5.094 kB / 0.554 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.3391, allocations: 17.94 kB / 0.554 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.3392, allocations: 35.94 kB / 0.5541 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008785/0.3401, allocations: 0.5262 MB / 0.5546 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/0.3443, allocations: 3.04 MB / 0.5575 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.3449, allocations: 309.3 kB / 0.5578 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.3452, allocations: 161.7 kB / 0.558 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.3452, allocations: 11.92 kB / 0.558 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3453, allocations: 39.06 kB / 0.558 GB, free: 3.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.3453, allocations: 0 / 0.558 GB, free: 3.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002127/0.3474, allocations: 1.152 MB / 0.5592 GB, free: 2.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.3475, allocations: 85.11 kB / 0.5592 GB, free: 2.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.3479, allocations: 393.5 kB / 0.5596 GB, free: 2.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.3479, allocations: 29.7 kB / 0.5597 GB, free: 2.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.3482, allocations: 308 kB / 0.5599 GB, free: 1.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3483, allocations: 126.9 kB / 0.5601 GB, free: 1.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.3485, allocations: 106.4 kB / 0.5602 GB, free: 1.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3486, allocations: 354.7 kB / 0.5605 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.3489, allocations: 189.2 kB / 0.5607 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.3494, allocations: 390.3 kB / 0.5611 GB, free: 492 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008211/0.3502, allocations: 0.6008 MB / 0.5616 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3502, allocations: 4 kB / 0.5616 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001955/0.3522, allocations: 0.811 MB / 0.5624 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3522, allocations: 12.12 kB / 0.5625 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3522, allocations: 8 kB / 0.5625 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.3535, allocations: 265.4 kB / 0.5627 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.3541, allocations: 135.8 kB / 0.5628 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.3593, allocations: 3.858 MB / 0.5666 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.3597, allocations: 27.98 kB / 0.5666 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.3597, allocations: 27.98 kB / 0.5667 GB, free: 10.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002917/0.36, allocations: 217.6 kB / 0.5669 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.3601, allocations: 39.86 kB / 0.5669 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008397/0.361, allocations: 492.9 kB / 0.5674 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.361, allocations: 7.938 kB / 0.5674 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.361, allocations: 4 kB / 0.5674 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.361, allocations: 0 / 0.5674 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.3625, allocations: 0.9869 MB / 0.5684 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3626, allocations: 3.938 kB / 0.5684 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.363, allocations: 95.94 kB / 0.5684 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.363, allocations: 0 / 0.5684 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.3631, allocations: 15.98 kB / 0.5685 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3631, allocations: 3.938 kB / 0.5685 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3631, allocations: 0 / 0.5685 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.3641, allocations: 0.7435 MB / 0.5692 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.3642, allocations: 43.69 kB / 0.5692 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.3643, allocations: 12.06 kB / 0.5692 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.3645, allocations: 15.98 kB / 0.5693 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.3646, allocations: 27.89 kB / 0.5693 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.3646, allocations: 11.98 kB / 0.5693 GB, free: 7.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.3649, allocations: 271.1 kB / 0.5696 GB, free: 7.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3649, allocations: 0 / 0.5696 GB, free: 7.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005479/0.3655, allocations: 124 kB / 0.5697 GB, free: 7.211 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[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 (38): * Single equations (assignments): 37 * 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.001415/0.3669, allocations: 1.288 MB / 0.5709 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.3685, allocations: 0.783 MB / 0.5717 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3685, allocations: 0 / 0.5717 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.3688, allocations: 188.6 kB / 0.5719 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.3694, allocations: 80.52 kB / 0.572 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009733/0.3791, allocations: 5.316 MB / 0.5771 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.3798, allocations: 0.9015 MB / 0.578 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004298/0.3802, allocations: 127.3 kB / 0.5782 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.3805, allocations: 179.4 kB / 0.5783 GB, free: 13.98 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3805, allocations: 0 / 0.5783 GB, free: 13.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04605/0.4266, allocations: 11.16 MB / 0.5892 GB, free: 2.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.05, allocations: 3.938 kB / 0.5892 GB, free: 2.961 MB / 430.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.110618499005795] Failed to read output from testmodel.py, exit status != 0: 14.183066244004294 14.211409531 13.87246553 Calling exit ...