Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.0009492/0.0009492, 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.001605/0.001605, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9807/0.9807, allocations: 230.6 MB / 256 MB, free: 9.602 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.7959/0.7959, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.0009722/0.0009722, allocations: 70.02 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4708, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02979/0.5006, allocations: 33.75 MB / 0.8508 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.5161, allocations: 11.54 MB / 0.862 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/0.5189, allocations: 206.6 kB / 0.8622 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005671/0.5245, allocations: 4.281 MB / 0.8664 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005524/0.5301, allocations: 2.084 MB / 0.8685 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004846/0.5349, allocations: 2.416 MB / 0.8708 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009153/0.5441, allocations: 8.461 MB / 0.8791 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006371/0.5504, allocations: 6.164 MB / 0.8851 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005029/0.5555, allocations: 3.872 MB / 0.8889 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003794/0.5593, allocations: 4.147 MB / 0.8929 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0007088/0.56, allocations: 0.7773 MB / 0.8937 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.5628, allocations: 1.896 MB / 0.8955 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.5648, allocations: 3.145 MB / 0.8986 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002587/0.5674, allocations: 2.751 MB / 0.9013 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009289/0.5767, allocations: 12.07 MB / 0.9131 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.5767, allocations: 0 / 0.9131 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.878e-06/0.5767, allocations: 3.938 kB / 0.9131 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000257/0.5769, allocations: 0 / 0.9131 GB, free: 3.801 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.008525/0.5855, allocations: 5.863 MB / 0.9188 GB, free: 13.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.5855, allocations: 12.02 kB / 0.9188 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007224/0.5862, allocations: 0.805 MB / 0.9196 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/0.5897, allocations: 1.094 MB / 0.9207 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00431/0.594, allocations: 3.415 MB / 0.924 GB, free: 8.469 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.5942, allocations: 411.5 kB / 0.9244 GB, free: 8.066 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005299/0.5948, allocations: 0.5432 MB / 0.9249 GB, free: 7.523 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009787/0.6046, allocations: 9.376 MB / 0.9341 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-05/0.6047, allocations: 31.75 kB / 0.9341 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.605, allocations: 240 kB / 0.9344 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002635/0.6053, allocations: 350.8 kB / 0.9347 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007433/0.6127, allocations: 6.822 MB / 0.9414 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02226/0.635, allocations: 25.12 MB / 0.9659 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.6372, allocations: 2.296 MB / 0.9681 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.6388, allocations: 1.775 MB / 0.9699 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.526e-05/0.6388, allocations: 22 kB / 0.9699 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.6389, allocations: 48.56 kB / 0.9699 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=179): time 3.647e-06/0.6389, allocations: 0 / 0.9699 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=182): time 0.01418/0.653, allocations: 9.686 MB / 0.9794 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.6531, allocations: 73.34 kB / 0.9795 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.6544, allocations: 1.569 MB / 0.981 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.6544, allocations: 57.7 kB / 0.981 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009784/0.6554, allocations: 2.327 MB / 0.9833 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.6558, allocations: 0.6623 MB / 0.984 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/0.6562, allocations: 408.1 kB / 0.9844 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.6562, allocations: 309 kB / 0.9846 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.6576, allocations: 1.179 MB / 0.9858 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.6593, allocations: 1.881 MB / 0.9876 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002614/0.6619, allocations: 3.367 MB / 0.9909 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.6619, allocations: 8 kB / 0.9909 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004757/0.6667, allocations: 4.539 MB / 0.9954 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.6667, allocations: 12 kB / 0.9954 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.6667, allocations: 24 kB / 0.9954 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/0.6689, allocations: 1.588 MB / 0.9969 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/0.6695, allocations: 351.3 kB / 0.9973 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.6845, allocations: 17.93 MB / 1.015 GB, free: 9.246 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6856, allocations: 119.9 kB / 1.015 GB, free: 9.129 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.6857, allocations: 92 kB / 1.015 GB, free: 9.039 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002495/0.6882, allocations: 1.902 MB / 1.017 GB, free: 7.125 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.6884, allocations: 234.5 kB / 1.017 GB, free: 6.895 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/0.6929, allocations: 4.036 MB / 1.021 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.693, allocations: 23.94 kB / 1.021 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.693, allocations: 16 kB / 1.021 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.693, allocations: 15.89 kB / 1.021 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009362/0.7023, allocations: 8.658 MB / 1.03 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.7024, allocations: 4 kB / 1.03 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.7028, allocations: 188.5 kB / 1.03 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/0.7046, allocations: 1.344 MB / 1.031 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.496e-05/0.7047, allocations: 40 kB / 1.031 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/0.7186, allocations: 16.74 MB / 1.047 GB, free: 7.195 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7186, allocations: 4 kB / 1.047 GB, free: 7.191 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004272/0.7229, allocations: 4.044 MB / 1.051 GB, free: 3.059 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000698/0.7236, allocations: 470.4 kB / 1.052 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.7237, allocations: 36 kB / 1.052 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/0.7242, allocations: 87.89 kB / 1.052 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.7245, allocations: 173.5 kB / 1.052 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.7246, allocations: 48 kB / 1.052 GB, free: 2.258 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009222/0.7255, allocations: 1.001 MB / 1.053 GB, free: 1.234 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7255, allocations: 0 / 1.053 GB, free: 1.234 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003197/0.7287, allocations: 0.9844 MB / 1.054 GB, free: 256 kB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006723/0.7354, allocations: 4.63 MB / 1.059 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006699/0.7421, allocations: 4.171 MB / 1.063 GB, free: 7.301 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7421, allocations: 0 / 1.063 GB, free: 7.301 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00239/0.7445, allocations: 2.58 MB / 1.065 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.7463, allocations: 0.7854 MB / 1.066 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/0.7728, allocations: 27.01 MB / 1.092 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.7755, allocations: 3.039 MB / 1.095 GB, free: 4.758 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000928/0.7764, allocations: 459.9 kB / 1.096 GB, free: 4.305 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/0.7781, allocations: 1.792 MB / 1.097 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of SimCode: time 1.773e-06/0.7781, allocations: 3.938 kB / 1.097 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4496/1.228, allocations: 78.54 MB / 1.174 GB, free: 282.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/9.349, allocations: 9.594 kB / 1.174 GB, free: 282.9 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.484626627061516] Failed to read output from testmodel.py, exit status != 0: 9.45663260994479 9.467066417 8.888833045 Calling exit ...