Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001234/0.001234, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001944/0.001944, allocations: 207.6 kB / 22.25 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.9271/0.9271, allocations: 230.6 MB / 256 MB, free: 9.609 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.8079/0.8079, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.0009646/0.0009646, allocations: 67.06 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4936, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02514/0.5187, allocations: 29.26 MB / 0.8464 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.5363, allocations: 13.19 MB / 0.8593 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003003/0.5393, allocations: 192.9 kB / 0.8595 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004476/0.5437, allocations: 3.203 MB / 0.8626 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005214/0.549, allocations: 2.756 MB / 0.8653 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.5522, allocations: 2.012 MB / 0.8672 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006428/0.5587, allocations: 7.642 MB / 0.8747 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004156/0.5628, allocations: 4.594 MB / 0.8792 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/0.5663, allocations: 3.533 MB / 0.8826 GB, free: 3.039 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.5687, allocations: 3.363 MB / 0.8859 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004299/0.5691, allocations: 0.5938 MB / 0.8865 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.5712, allocations: 1.396 MB / 0.8879 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.5725, allocations: 2.427 MB / 0.8902 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.5741, allocations: 2.338 MB / 0.8925 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00636/0.5805, allocations: 9.531 MB / 0.9018 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5805, allocations: 7.938 kB / 0.9018 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5805, allocations: 0 / 0.9018 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001419/0.5806, allocations: 0 / 0.9018 GB, free: 15.32 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.005922/0.5865, allocations: 5.191 MB / 0.9069 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5866, allocations: 16.02 kB / 0.9069 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000528/0.5871, allocations: 0.6125 MB / 0.9075 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.5904, allocations: 1.028 MB / 0.9085 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/0.5938, allocations: 3.017 MB / 0.9115 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.5939, allocations: 316.8 kB / 0.9118 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003769/0.5943, allocations: 423.9 kB / 0.9122 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00673/0.601, allocations: 7.527 MB / 0.9195 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.939e-05/0.6011, allocations: 19.88 kB / 0.9195 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002861/0.6014, allocations: 184 kB / 0.9197 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000459/0.6018, allocations: 372 kB / 0.9201 GB, free: 11.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005282/0.6071, allocations: 5.106 MB / 0.9251 GB, free: 6.863 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/0.6236, allocations: 19.79 MB / 0.9444 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.625, allocations: 1.317 MB / 0.9457 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.6261, allocations: 1.239 MB / 0.9469 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.78e-05/0.6261, allocations: 13.31 kB / 0.9469 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.6262, allocations: 51.88 kB / 0.9469 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=130): time 2.324e-06/0.6262, allocations: 0 / 0.9469 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=199): time 0.04628/0.6724, allocations: 22.84 MB / 0.9693 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.6725, allocations: 73.41 kB / 0.9693 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.675, allocations: 2.093 MB / 0.9714 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.6751, allocations: 61.7 kB / 0.9714 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008814/0.676, allocations: 2.063 MB / 0.9734 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.6764, allocations: 0.7166 MB / 0.9741 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004609/0.6769, allocations: 408.4 kB / 0.9745 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.6769, allocations: 313.1 kB / 0.9748 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.6783, allocations: 1.426 MB / 0.9762 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.6802, allocations: 2.01 MB / 0.9782 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.6833, allocations: 3.692 MB / 0.9818 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.6833, allocations: 4 kB / 0.9818 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006556/0.6899, allocations: 5.611 MB / 0.9873 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.6899, allocations: 12.94 kB / 0.9873 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.6899, allocations: 16 kB / 0.9873 GB, free: 5.895 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/0.6934, allocations: 2.076 MB / 0.9893 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/0.6941, allocations: 383.3 kB / 0.9897 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02537/0.7195, allocations: 36.27 MB / 1.025 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.7214, allocations: 131.9 kB / 1.025 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.7215, allocations: 99.97 kB / 1.025 GB, free: 12.82 MB / 0.8073 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002473/0.724, allocations: 1.5 MB / 1.027 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/0.7243, allocations: 294.2 kB / 1.027 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005798/0.7301, allocations: 5.153 MB / 1.032 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.7301, allocations: 20 kB / 1.032 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/0.7301, allocations: 20 kB / 1.032 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.7301, allocations: 11.97 kB / 1.032 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.7405, allocations: 9.095 MB / 1.041 GB, free: 12.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.7405, allocations: 8 kB / 1.041 GB, free: 12.44 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.7409, allocations: 211.6 kB / 1.041 GB, free: 12.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002955/0.7439, allocations: 1.834 MB / 1.043 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-05/0.744, allocations: 44 kB / 1.043 GB, free: 10.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02291/0.7669, allocations: 35.28 MB / 1.078 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.7669, allocations: 11.94 kB / 1.078 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/0.7724, allocations: 4.863 MB / 1.082 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009016/0.7733, allocations: 0.5527 MB / 1.083 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.7735, allocations: 43.94 kB / 1.083 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/0.7743, allocations: 127.8 kB / 1.083 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/0.7747, allocations: 201.5 kB / 1.083 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/0.7748, allocations: 60 kB / 1.083 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001467/0.7763, allocations: 1.378 MB / 1.085 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7763, allocations: 0 / 1.085 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002484/0.7787, allocations: 1.047 MB / 1.086 GB, free: 12.49 MB / 0.8698 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005508/0.7843, allocations: 5.474 MB / 1.091 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005712/0.79, allocations: 6.014 MB / 1.097 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.79, allocations: 0 / 1.097 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00348/0.7934, allocations: 4.281 MB / 1.101 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.7957, allocations: 0.9915 MB / 1.102 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03359/0.8293, allocations: 30.74 MB / 1.132 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/0.8315, allocations: 2.588 MB / 1.135 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001236/0.8328, allocations: 0.5121 MB / 1.135 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/0.834, allocations: 1.679 MB / 1.137 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of SimCode: time 1.092e-06/0.834, allocations: 0 / 1.137 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4877/1.322, allocations: 94.43 MB / 1.229 GB, free: 227.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.225/10.55, allocations: 11.94 kB / 1.229 GB, free: 227.2 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.582000147085637] Failed to read output from testmodel.py, exit status != 0: 10.666140445042402 10.674996242 10.09234832 Calling exit ...