Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.0007846/0.0007846, 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.001245/0.001245, allocations: 221.7 kB / 22.26 MB, free: 3.688 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.9537/0.9537, 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.7953/0.7953, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.0008998/0.0008998, allocations: 66.45 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.519, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01901/0.538, allocations: 21.22 MB / 0.8386 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009447/0.5474, allocations: 6.724 MB / 0.8452 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.5485, allocations: 115.1 kB / 0.8453 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003087/0.5516, allocations: 2.344 MB / 0.8476 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.5541, allocations: 1.239 MB / 0.8488 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.5567, allocations: 1.326 MB / 0.8501 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003702/0.5604, allocations: 4.848 MB / 0.8548 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.5634, allocations: 3.183 MB / 0.8579 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.5658, allocations: 2.149 MB / 0.86 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.5678, allocations: 2.474 MB / 0.8624 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004315/0.5682, allocations: 429.1 kB / 0.8628 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.5697, allocations: 1.021 MB / 0.8638 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.5708, allocations: 1.715 MB / 0.8655 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.5722, allocations: 1.908 MB / 0.8674 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004617/0.5768, allocations: 6.544 MB / 0.8738 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5768, allocations: 0 / 0.8738 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5768, allocations: 0 / 0.8738 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.744e-05/0.5769, allocations: 0 / 0.8738 GB, free: 11.82 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005179/0.582, allocations: 3.463 MB / 0.8771 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.5821, allocations: 12.03 kB / 0.8771 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004775/0.5826, allocations: 450.6 kB / 0.8776 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.5848, allocations: 0.6584 MB / 0.8782 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/0.5878, allocations: 1.986 MB / 0.8802 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-05/0.5879, allocations: 222.3 kB / 0.8804 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/0.5882, allocations: 300 kB / 0.8807 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005101/0.5933, allocations: 4.894 MB / 0.8854 GB, free: 328 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/0.5933, allocations: 11.88 kB / 0.8854 GB, free: 316 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.5935, allocations: 128 kB / 0.8856 GB, free: 188 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000246/0.5938, allocations: 225.8 kB / 0.8858 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004066/0.5978, allocations: 3.754 MB / 0.8895 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.6119, allocations: 21.24 MB / 0.9102 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.6131, allocations: 1.23 MB / 0.9114 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009454/0.614, allocations: 0.9879 MB / 0.9124 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.604e-05/0.6141, allocations: 13 kB / 0.9124 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.6141, allocations: 51.5 kB / 0.9124 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 3.987e-06/0.6141, allocations: 0 / 0.9124 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.01336/0.6275, allocations: 8.424 MB / 0.9206 GB, free: 10.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.6275, allocations: 64.72 kB / 0.9207 GB, free: 10.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009743/0.6285, allocations: 1.13 MB / 0.9218 GB, free: 9.016 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.6286, allocations: 49.69 kB / 0.9219 GB, free: 8.961 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005549/0.6291, allocations: 1.339 MB / 0.9232 GB, free: 7.609 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.6294, allocations: 0.4919 MB / 0.9237 GB, free: 7.113 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.6297, allocations: 291.5 kB / 0.9239 GB, free: 6.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.6297, allocations: 305.1 kB / 0.9242 GB, free: 6.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008418/0.6306, allocations: 0.9135 MB / 0.9251 GB, free: 5.605 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.6316, allocations: 1.33 MB / 0.9264 GB, free: 4.109 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.6337, allocations: 2.426 MB / 0.9288 GB, free: 1.512 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.6337, allocations: 4 kB / 0.9288 GB, free: 1.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003609/0.6373, allocations: 3.426 MB / 0.9321 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6374, allocations: 12 kB / 0.9321 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.6374, allocations: 15.94 kB / 0.9322 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/0.6391, allocations: 1.182 MB / 0.9333 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.6396, allocations: 259.6 kB / 0.9336 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.6507, allocations: 13.54 MB / 0.9468 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/0.6514, allocations: 91.97 kB / 0.9469 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.6515, allocations: 60 kB / 0.9469 GB, free: 14.55 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001742/0.6532, allocations: 1.116 MB / 0.948 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.6536, allocations: 170.9 kB / 0.9482 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.657, allocations: 3.138 MB / 0.9512 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.657, allocations: 12 kB / 0.9513 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.657, allocations: 15.94 kB / 0.9513 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.657, allocations: 3.984 kB / 0.9513 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007163/0.6642, allocations: 6.197 MB / 0.9573 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.6642, allocations: 4 kB / 0.9573 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.6645, allocations: 147.8 kB / 0.9575 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/0.6661, allocations: 1.068 MB / 0.9585 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.6662, allocations: 32 kB / 0.9585 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.6766, allocations: 13.24 MB / 0.9715 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6766, allocations: 4 kB / 0.9715 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.6797, allocations: 3.124 MB / 0.9745 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005156/0.6802, allocations: 362.8 kB / 0.9749 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.6803, allocations: 28 kB / 0.9749 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.6807, allocations: 83.89 kB / 0.975 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.6809, allocations: 124.6 kB / 0.9751 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.6809, allocations: 44.38 kB / 0.9751 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006833/0.6816, allocations: 0.7671 MB / 0.9759 GB, free: 300 kB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6816, allocations: 0 / 0.9759 GB, free: 300 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001629/0.6833, allocations: 0.6563 MB / 0.9765 GB, free: 15.63 MB / 0.7605 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003241/0.6865, allocations: 3.705 MB / 0.9802 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00314/0.6896, allocations: 3.024 MB / 0.9831 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6896, allocations: 4 kB / 0.9831 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.6913, allocations: 1.877 MB / 0.9849 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.6925, allocations: 0.5008 MB / 0.9854 GB, free: 6.379 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/0.7122, allocations: 19.18 MB / 1.004 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/0.7141, allocations: 2.34 MB / 1.006 GB, free: 240 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0007385/0.7148, allocations: 354.2 kB / 1.007 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000776/0.7156, allocations: 1.003 MB / 1.008 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of SimCode: time 1.452e-06/0.7156, allocations: 4 kB / 1.008 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06793/0.7835, allocations: 54.14 MB / 1.061 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.982/9.765, allocations: 9.297 kB / 1.061 GB, free: 9.188 MB / 0.8386 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.771149081876501] Failed to read output from testmodel.py, exit status != 0: 9.86317264707759 9.871981046 9.293428804 Calling exit ...