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.0007305/0.0007305, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0007862/0.0007862, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9094/0.9094, allocations: 230.6 MB / 256 MB, free: 9.578 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.7517/0.7517, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.001291/0.001291, allocations: 69.22 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.47, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009238/0.4792, allocations: 10.7 MB / 0.8283 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006913/0.4861, allocations: 5.644 MB / 0.8338 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006092/0.4867, allocations: 73.72 kB / 0.8338 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.4891, allocations: 1.721 MB / 0.8355 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.4913, allocations: 1.185 MB / 0.8367 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.493, allocations: 0.8129 MB / 0.8375 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002282/0.4952, allocations: 2.132 MB / 0.8395 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.4963, allocations: 1.013 MB / 0.8405 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.4973, allocations: 0.884 MB / 0.8414 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.4984, allocations: 0.9023 MB / 0.8423 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.4986, allocations: 114.1 kB / 0.8424 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.5002, allocations: 1.062 MB / 0.8434 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003904/0.5006, allocations: 0.536 MB / 0.8439 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006235/0.5012, allocations: 0.649 MB / 0.8446 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.5036, allocations: 2.447 MB / 0.847 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5036, allocations: 0 / 0.847 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5036, allocations: 3.938 kB / 0.847 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.425e-05/0.5036, allocations: 0 / 0.847 GB, free: 15.05 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.002341/0.506, allocations: 1.851 MB / 0.8488 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.506, allocations: 9.625 kB / 0.8488 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.5062, allocations: 211.7 kB / 0.849 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/0.5088, allocations: 0.678 MB / 0.8497 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.51, allocations: 0.9193 MB / 0.8506 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.51, allocations: 97.3 kB / 0.8506 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.5102, allocations: 122.4 kB / 0.8508 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.5123, allocations: 2.413 MB / 0.8531 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.5124, allocations: 17.17 kB / 0.8531 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5125, allocations: 61.84 kB / 0.8532 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.5126, allocations: 170.3 kB / 0.8534 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.5147, allocations: 1.856 MB / 0.8552 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007241/0.5219, allocations: 9.409 MB / 0.8644 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.5246, allocations: 1.867 MB / 0.8662 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.5252, allocations: 0.5527 MB / 0.8667 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.404e-05/0.5253, allocations: 25.27 kB / 0.8667 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.5253, allocations: 48.06 kB / 0.8668 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=103): time 2.294e-06/0.5253, allocations: 0 / 0.8668 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=110): time 0.003873/0.5292, allocations: 3.123 MB / 0.8698 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.5292, allocations: 66.56 kB / 0.8699 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009089/0.5301, allocations: 0.9512 MB / 0.8708 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.5302, allocations: 45.52 kB / 0.8709 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.5306, allocations: 0.7556 MB / 0.8716 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.5308, allocations: 403 kB / 0.872 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/0.5311, allocations: 289.2 kB / 0.8723 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.5312, allocations: 306.1 kB / 0.8726 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006317/0.5318, allocations: 0.6166 MB / 0.8732 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008412/0.5326, allocations: 1.102 MB / 0.8742 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.5342, allocations: 1.832 MB / 0.876 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.5342, allocations: 7.938 kB / 0.876 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002084/0.5362, allocations: 2.1 MB / 0.8781 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.5363, allocations: 12 kB / 0.8781 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5363, allocations: 16 kB / 0.8781 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/0.5367, allocations: 259.1 kB / 0.8784 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/0.5374, allocations: 371.4 kB / 0.8787 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005375/0.5428, allocations: 10.74 MB / 0.8892 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/0.5434, allocations: 131.8 kB / 0.8893 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/0.5435, allocations: 71.98 kB / 0.8894 GB, free: 10.12 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.000414/0.5439, allocations: 397.2 kB / 0.8898 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.544, allocations: 135.2 kB / 0.8899 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.5456, allocations: 1.688 MB / 0.8916 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5456, allocations: 12 kB / 0.8916 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5456, allocations: 0 / 0.8916 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.5456, allocations: 3.984 kB / 0.8916 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.5489, allocations: 3.123 MB / 0.8946 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5489, allocations: 8 kB / 0.8946 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.5493, allocations: 215.6 kB / 0.8948 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003517/0.5496, allocations: 251.3 kB / 0.8951 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.5497, allocations: 27.94 kB / 0.8951 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004534/0.5542, allocations: 10.71 MB / 0.9056 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.5542, allocations: 7.938 kB / 0.9056 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.5558, allocations: 1.8 MB / 0.9073 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.5561, allocations: 235.2 kB / 0.9076 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.294e-05/0.5562, allocations: 32 kB / 0.9076 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.5565, allocations: 87.88 kB / 0.9077 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5566, allocations: 108.6 kB / 0.9078 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.5567, allocations: 35.98 kB / 0.9078 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004565/0.5571, allocations: 0.6177 MB / 0.9084 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6e-08/0.5571, allocations: 0 / 0.9084 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008512/0.558, allocations: 391.9 kB / 0.9088 GB, free: 5.023 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.001808/0.5598, allocations: 2.383 MB / 0.9111 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.5621, allocations: 2.407 MB / 0.9135 GB, free: 12 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5621, allocations: 0 / 0.9135 GB, free: 12 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.5632, allocations: 1.586 MB / 0.915 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00099/0.5642, allocations: 359.7 kB / 0.9154 GB, free: 13.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.5748, allocations: 11.55 MB / 0.9266 GB, free: 1.695 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.5753, allocations: 0.7373 MB / 0.9274 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000578/0.5759, allocations: 359.3 kB / 0.9277 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.5763, allocations: 0.5305 MB / 0.9282 GB, free: 40 kB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/0.5763, allocations: 4 kB / 0.9282 GB, free: 36 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04948/0.6258, allocations: 30.52 MB / 0.958 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.37, allocations: 4.062 kB / 0.958 GB, free: 2.039 MB / 0.7292 GB " [Timeout remaining time 652] (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: 11.293827099725604] Failed to read output from testmodel.py, exit status != 0: 8.465592664200813 8.479081775 7.972643655 Calling exit ...