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.001841/0.001841, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002164/0.002164, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1883/0.1883, allocations: 38.54 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.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.002009/0.002009, allocations: 63.91 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2979, allocations: 62.46 MB / 0.5419 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.006299/0.3042, allocations: 4.382 MB / 0.5462 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.3069, allocations: 1.464 MB / 0.5476 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.3071, allocations: 16.09 kB / 0.5477 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.308, allocations: 286.7 kB / 0.5479 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005778/0.3085, allocations: 269 kB / 0.5482 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.3092, allocations: 272.4 kB / 0.5485 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007145/0.3099, allocations: 0.6386 MB / 0.5491 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004135/0.3104, allocations: 236.7 kB / 0.5493 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.3108, allocations: 314.3 kB / 0.5496 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005865/0.3114, allocations: 411.8 kB / 0.55 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.874e-05/0.3115, allocations: 40.62 kB / 0.55 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.3118, allocations: 163 kB / 0.5502 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.3121, allocations: 242 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.3124, allocations: 231.3 kB / 0.5506 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007626/0.3131, allocations: 0.6692 MB / 0.5513 GB, free: 9.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3131, allocations: 4 kB / 0.5513 GB, free: 9.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3131, allocations: 4.812 kB / 0.5513 GB, free: 9.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.3131, allocations: 0 / 0.5513 GB, free: 9.418 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.001842/0.315, allocations: 0.8284 MB / 0.5521 GB, free: 8.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.315, allocations: 12.86 kB / 0.5521 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.3151, allocations: 83.58 kB / 0.5522 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006917/0.3158, allocations: 126.4 kB / 0.5523 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.3169, allocations: 445.8 kB / 0.5528 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.3169, allocations: 30.59 kB / 0.5528 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.3171, allocations: 58.69 kB / 0.5528 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3181, allocations: 0.6839 MB / 0.5535 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.3181, allocations: 10.16 kB / 0.5535 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/0.3182, allocations: 17.31 kB / 0.5535 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.3183, allocations: 36.33 kB / 0.5536 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008271/0.3191, allocations: 0.5241 MB / 0.5541 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.3232, allocations: 2.941 MB / 0.5569 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.3239, allocations: 297.3 kB / 0.5572 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.3241, allocations: 169.7 kB / 0.5574 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.3242, allocations: 8 kB / 0.5574 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3242, allocations: 35.06 kB / 0.5574 GB, free: 4.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.3242, allocations: 0 / 0.5574 GB, free: 4.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002212/0.3264, allocations: 1.156 MB / 0.5586 GB, free: 2.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.3265, allocations: 81.11 kB / 0.5586 GB, free: 2.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/0.327, allocations: 401.4 kB / 0.559 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.327, allocations: 37.7 kB / 0.5591 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.3273, allocations: 304 kB / 0.5593 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.3274, allocations: 127.1 kB / 0.5595 GB, free: 1.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.3276, allocations: 102.3 kB / 0.5596 GB, free: 1.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3278, allocations: 358.7 kB / 0.5599 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.3281, allocations: 185.2 kB / 0.5601 GB, free: 1.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.3286, allocations: 390.4 kB / 0.5605 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/0.3294, allocations: 0.5969 MB / 0.561 GB, free: 124 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3294, allocations: 4 kB / 0.561 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00194/0.3313, allocations: 0.8225 MB / 0.5618 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3314, allocations: 10.97 kB / 0.5619 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3314, allocations: 15.92 kB / 0.5619 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.3326, allocations: 261.7 kB / 0.5621 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.3332, allocations: 139.8 kB / 0.5623 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/0.3384, allocations: 3.823 MB / 0.566 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.3388, allocations: 27.97 kB / 0.566 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.3388, allocations: 24 kB / 0.566 GB, free: 10.75 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.0003027/0.3391, allocations: 221.6 kB / 0.5663 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/0.3392, allocations: 39.72 kB / 0.5663 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000825/0.34, allocations: 488.9 kB / 0.5668 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.34, allocations: 7.938 kB / 0.5668 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.34, allocations: 4.062 kB / 0.5668 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.34, allocations: 3.984 kB / 0.5668 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.3416, allocations: 0.9557 MB / 0.5677 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3416, allocations: 3.938 kB / 0.5677 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.342, allocations: 87.88 kB / 0.5678 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.342, allocations: 3.984 kB / 0.5678 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.3421, allocations: 12 kB / 0.5678 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.3421, allocations: 7.984 kB / 0.5678 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3421, allocations: 4.062 kB / 0.5678 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.3431, allocations: 0.7395 MB / 0.5685 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.598e-05/0.3432, allocations: 47.7 kB / 0.5686 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.3432, allocations: 8 kB / 0.5686 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.3435, allocations: 19.98 kB / 0.5686 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.3435, allocations: 19.95 kB / 0.5686 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.3436, allocations: 12 kB / 0.5686 GB, free: 7.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002907/0.3439, allocations: 271.1 kB / 0.5689 GB, free: 7.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3439, allocations: 0 / 0.5689 GB, free: 7.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005411/0.3444, allocations: 120 kB / 0.569 GB, free: 7.602 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.001328/0.3457, allocations: 1.292 MB / 0.5703 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.3472, allocations: 0.7787 MB / 0.571 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3472, allocations: 0 / 0.571 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.3475, allocations: 188.7 kB / 0.5712 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.3481, allocations: 96.31 kB / 0.5713 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009246/0.3573, allocations: 5.322 MB / 0.5765 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.3576, allocations: 290.4 kB / 0.5768 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003582/0.358, allocations: 135.3 kB / 0.5769 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.3583, allocations: 171.4 kB / 0.5771 GB, free: 14.97 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3583, allocations: 0 / 0.5771 GB, free: 14.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06454/0.4228, allocations: 11.55 MB / 0.5884 GB, free: 3.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.7, allocations: 4.062 kB / 0.5884 GB, free: 3.613 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: 16.521231019985862] Failed to read output from testmodel.py, exit status != 0: 13.836915056977887 13.866654893 13.547568149 Calling exit ...