Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001403/0.001403, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001603/0.001603, allocations: 214.3 kB / 22.25 MB, free: 3.711 MB / 13.93 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 0.9798/0.9798, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7842/0.7842, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001478/0.001478, allocations: 66.16 kB / 0.7182 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4823, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01012/0.4924, allocations: 11.61 MB / 0.8292 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007982/0.5004, allocations: 6.024 MB / 0.8351 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.5016, allocations: 69.75 kB / 0.8352 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.5043, allocations: 1.804 MB / 0.8369 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003027/0.5073, allocations: 1.177 MB / 0.8381 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.5095, allocations: 0.8267 MB / 0.8389 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003092/0.5125, allocations: 2.126 MB / 0.841 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.5141, allocations: 1.025 MB / 0.842 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.5157, allocations: 0.8725 MB / 0.8428 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.5172, allocations: 0.9642 MB / 0.8437 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.5175, allocations: 114.7 kB / 0.8439 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.5196, allocations: 1.208 MB / 0.845 GB, free: 88 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.5201, allocations: 0.5394 MB / 0.8456 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009157/0.521, allocations: 0.7915 MB / 0.8463 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003387/0.5244, allocations: 2.432 MB / 0.8487 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5244, allocations: 3.938 kB / 0.8487 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.225e-06/0.5244, allocations: 0 / 0.8487 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.679e-05/0.5245, allocations: 1.344 kB / 0.8487 GB, free: 13.58 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003112/0.5276, allocations: 1.849 MB / 0.8505 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5277, allocations: 9.844 kB / 0.8505 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002219/0.5279, allocations: 212.6 kB / 0.8507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/0.5306, allocations: 0.6733 MB / 0.8514 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.5322, allocations: 0.9223 MB / 0.8523 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/0.5322, allocations: 93.05 kB / 0.8524 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.5324, allocations: 126.6 kB / 0.8525 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.535, allocations: 2.21 MB / 0.8547 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.535, allocations: 16.89 kB / 0.8547 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.5351, allocations: 61.86 kB / 0.8547 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.5353, allocations: 165.2 kB / 0.8549 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.5375, allocations: 1.869 MB / 0.8567 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00815/0.5456, allocations: 11.74 MB / 0.8682 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.5483, allocations: 1.877 MB / 0.87 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006116/0.5489, allocations: 0.5567 MB / 0.8706 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.549, allocations: 25.42 kB / 0.8706 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.549, allocations: 47.78 kB / 0.8706 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 3.297e-06/0.549, allocations: 0 / 0.8706 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.004249/0.5533, allocations: 3.125 MB / 0.8737 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.5533, allocations: 62.91 kB / 0.8737 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00095/0.5543, allocations: 0.9224 MB / 0.8746 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.5543, allocations: 41.92 kB / 0.8747 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.5547, allocations: 0.7512 MB / 0.8754 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.5549, allocations: 402.5 kB / 0.8758 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.5552, allocations: 294.2 kB / 0.8761 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.5553, allocations: 302.2 kB / 0.8764 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/0.556, allocations: 0.6143 MB / 0.877 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009771/0.5569, allocations: 1.102 MB / 0.878 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.5585, allocations: 1.835 MB / 0.8798 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.5585, allocations: 4 kB / 0.8798 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002273/0.5608, allocations: 2.109 MB / 0.8819 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.5608, allocations: 12 kB / 0.8819 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.5608, allocations: 16 kB / 0.8819 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005127/0.5613, allocations: 258.7 kB / 0.8822 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/0.5621, allocations: 375.4 kB / 0.8825 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005652/0.5677, allocations: 10.75 MB / 0.893 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.5688, allocations: 135.8 kB / 0.8932 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.756e-05/0.5689, allocations: 67.98 kB / 0.8932 GB, free: 6.152 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006288/0.5695, allocations: 405.2 kB / 0.8936 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.5696, allocations: 143 kB / 0.8938 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.5714, allocations: 1.673 MB / 0.8954 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.5714, allocations: 16 kB / 0.8954 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5714, allocations: 4 kB / 0.8954 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5714, allocations: 3.984 kB / 0.8954 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/0.5751, allocations: 3.263 MB / 0.8986 GB, free: 488 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5751, allocations: 4 kB / 0.8986 GB, free: 484 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.5756, allocations: 220.3 kB / 0.8988 GB, free: 264 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/0.5759, allocations: 246.7 kB / 0.899 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.576, allocations: 35.94 kB / 0.8991 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005091/0.5811, allocations: 10.74 MB / 0.9096 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5811, allocations: 7.938 kB / 0.9096 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.5831, allocations: 1.816 MB / 0.9114 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.5835, allocations: 242.9 kB / 0.9116 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.5836, allocations: 28 kB / 0.9116 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.5841, allocations: 91.86 kB / 0.9117 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.5842, allocations: 100.7 kB / 0.9118 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.5842, allocations: 36 kB / 0.9118 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006437/0.5849, allocations: 0.6177 MB / 0.9124 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5849, allocations: 0 / 0.9124 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00118/0.5861, allocations: 392 kB / 0.9128 GB, free: 0.8633 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.001969/0.588, allocations: 2.393 MB / 0.9151 GB, free: 14.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002317/0.5903, allocations: 2.399 MB / 0.9175 GB, free: 11.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5903, allocations: 0 / 0.9175 GB, free: 11.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.5917, allocations: 1.586 MB / 0.919 GB, free: 10.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.5928, allocations: 359.5 kB / 0.9194 GB, free: 9.828 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.6039, allocations: 11.54 MB / 0.9306 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.6045, allocations: 1.331 MB / 0.9319 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000648/0.6052, allocations: 363.3 kB / 0.9323 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/0.6058, allocations: 0.5344 MB / 0.9328 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/0.6058, allocations: 0 / 0.9328 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05382/0.6596, allocations: 29.67 MB / 0.9618 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.654/9.313, allocations: 11.48 kB / 0.9618 GB, free: 13.97 MB / 0.7448 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.304368863115087] Failed to read output from testmodel.py, exit status != 0: 9.406457918928936 9.41724767 8.890662856 Calling exit ...