Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0007471/0.0007471, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0007798/0.0007798, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.975/0.975, allocations: 230.6 MB / 256 MB, free: 9.641 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.8182/0.8182, 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001003/0.001003, allocations: 62.91 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4946, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02983/0.5245, allocations: 34.81 MB / 0.8519 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02032/0.5448, allocations: 15.31 MB / 0.8668 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004266/0.549, allocations: 203.5 kB / 0.867 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.006694/0.5557, allocations: 3.815 MB / 0.8707 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008552/0.5643, allocations: 3.014 MB / 0.8737 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005404/0.5697, allocations: 2.39 MB / 0.876 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01097/0.5807, allocations: 8.815 MB / 0.8846 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007771/0.5884, allocations: 5.562 MB / 0.8901 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006781/0.5952, allocations: 4.063 MB / 0.894 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005982/0.6012, allocations: 4.271 MB / 0.8982 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001774/0.603, allocations: 0.7226 MB / 0.8989 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.6069, allocations: 1.748 MB / 0.9006 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003461/0.6104, allocations: 2.884 MB / 0.9034 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006791/0.6172, allocations: 3.392 MB / 0.9067 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.6313, allocations: 11.22 MB / 0.9177 GB, free: 15.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.6313, allocations: 0 / 0.9177 GB, free: 15.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6313, allocations: 0 / 0.9177 GB, free: 15.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004068/0.6318, allocations: 4 kB / 0.9177 GB, free: 15.45 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01435/0.6461, allocations: 6.053 MB / 0.9236 GB, free: 9.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.6462, allocations: 12.03 kB / 0.9236 GB, free: 9.316 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001697/0.6479, allocations: 0.7232 MB / 0.9243 GB, free: 8.582 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004376/0.6522, allocations: 1.168 MB / 0.9255 GB, free: 7.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007268/0.6595, allocations: 3.466 MB / 0.9289 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.6598, allocations: 374.4 kB / 0.9292 GB, free: 3.488 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001645/0.6614, allocations: 0.492 MB / 0.9297 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.6776, allocations: 8.009 MB / 0.9375 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.6778, allocations: 15.89 kB / 0.9375 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006159/0.6784, allocations: 220 kB / 0.9377 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006645/0.6791, allocations: 441.5 kB / 0.9382 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.69, allocations: 6.085 MB / 0.9441 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0364/0.7264, allocations: 34.65 MB / 0.978 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.7284, allocations: 1.905 MB / 0.9798 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.7303, allocations: 1.748 MB / 0.9815 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-05/0.7304, allocations: 21.94 kB / 0.9815 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.7304, allocations: 60.5 kB / 0.9816 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=171): time 3.056e-06/0.7304, allocations: 7.938 kB / 0.9816 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=276): time 0.07876/0.8092, allocations: 38.7 MB / 1.019 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.8092, allocations: 85.52 kB / 1.019 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/0.8121, allocations: 2.278 MB / 1.022 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002914/0.8124, allocations: 73.7 kB / 1.022 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/0.8138, allocations: 2.345 MB / 1.024 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006985/0.8145, allocations: 0.9759 MB / 1.025 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006158/0.8151, allocations: 0.5103 MB / 1.026 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.8152, allocations: 305.1 kB / 1.026 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/0.8172, allocations: 1.977 MB / 1.028 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.8196, allocations: 2.602 MB / 1.03 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004477/0.8241, allocations: 4.921 MB / 1.035 GB, free: 2.922 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.8241, allocations: 4 kB / 1.035 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009755/0.8339, allocations: 7.658 MB / 1.043 GB, free: 11.19 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.8339, allocations: 12 kB / 1.043 GB, free: 11.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/0.8339, allocations: 16 kB / 1.043 GB, free: 11.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005373/0.8393, allocations: 3.211 MB / 1.046 GB, free: 7.938 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.8403, allocations: 403.2 kB / 1.046 GB, free: 7.543 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03103/0.8713, allocations: 33.29 MB / 1.079 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.8735, allocations: 163.8 kB / 1.079 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.8737, allocations: 108 kB / 1.079 GB, free: 5.285 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002872/0.8766, allocations: 1.801 MB / 1.081 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005682/0.8772, allocations: 349.8 kB / 1.081 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008724/0.8859, allocations: 7.232 MB / 1.088 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.8859, allocations: 28 kB / 1.088 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.347e-05/0.886, allocations: 28 kB / 1.088 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.886, allocations: 19.89 kB / 1.088 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.9021, allocations: 12.79 MB / 1.101 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.9021, allocations: 8.844 kB / 1.101 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.9027, allocations: 223.6 kB / 1.101 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00478/0.9075, allocations: 2.856 MB / 1.104 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.9077, allocations: 52 kB / 1.104 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03114/0.9388, allocations: 32.08 MB / 1.135 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.9388, allocations: 8 kB / 1.135 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009882/0.9487, allocations: 6.783 MB / 1.142 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/0.9503, allocations: 0.7281 MB / 1.142 GB, free: 3.109 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/0.9507, allocations: 60.67 kB / 1.142 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.9517, allocations: 167.8 kB / 1.143 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006553/0.9524, allocations: 273 kB / 1.143 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.9525, allocations: 76 kB / 1.143 GB, free: 2.543 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001742/0.9542, allocations: 1.521 MB / 1.144 GB, free: 1.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2e-07/0.9542, allocations: 4 kB / 1.144 GB, free: 1.016 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.4201/1.374, allocations: 1.37 MB / 1.146 GB, free: 282.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009639/1.384, allocations: 7.405 MB / 1.153 GB, free: 281.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00927/1.393, allocations: 6.562 MB / 1.159 GB, free: 279.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/1.393, allocations: 5.562 kB / 1.159 GB, free: 279.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005825/1.399, allocations: 4.253 MB / 1.164 GB, free: 277.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003958/1.403, allocations: 1.117 MB / 1.165 GB, free: 277.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.052/1.455, allocations: 39.08 MB / 1.203 GB, free: 260.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00307/1.458, allocations: 3.638 MB / 1.206 GB, free: 258.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001985/1.46, allocations: 0.5601 MB / 1.207 GB, free: 258.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.462, allocations: 1.972 MB / 1.209 GB, free: 256.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.493e-06/1.462, allocations: 0 / 1.209 GB, free: 256.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1285/1.59, allocations: 115.4 MB / 1.321 GB, free: 142 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.89, allocations: 6.875 kB / 1.321 GB, free: 142 MB / 0.9167 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.018114862032235] Failed to read output from testmodel.py, exit status != 0: 14.016752557829022 14.029299247 13.395404983 Calling exit ...