Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.001323/0.001323, 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.00155/0.00155, allocations: 217.7 kB / 22.25 MB, free: 3.699 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 1.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.793 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.8191/0.8191, 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_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.0008941/0.0008941, allocations: 72.81 kB / 0.7182 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5918/0.5927, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0149/0.6076, allocations: 14.58 MB / 0.8321 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0138/0.6214, allocations: 9.799 MB / 0.8417 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.6234, allocations: 85.44 kB / 0.8418 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003348/0.6267, allocations: 1.736 MB / 0.8434 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005726/0.6325, allocations: 1.586 MB / 0.845 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.6349, allocations: 0.7657 MB / 0.8457 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00454/0.6394, allocations: 2.535 MB / 0.8482 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.6412, allocations: 1.198 MB / 0.8494 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.6433, allocations: 1.086 MB / 0.8504 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.6454, allocations: 1.208 MB / 0.8516 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003565/0.6457, allocations: 168.7 kB / 0.8518 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.6473, allocations: 0.8141 MB / 0.8526 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005591/0.6479, allocations: 0.6249 MB / 0.8532 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.6494, allocations: 0.9458 MB / 0.8541 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.6537, allocations: 2.767 MB / 0.8568 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.6537, allocations: 1.5 kB / 0.8568 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.765e-06/0.6537, allocations: 0 / 0.8568 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001369/0.6539, allocations: 0 / 0.8568 GB, free: 7.148 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004688/0.6586, allocations: 2.116 MB / 0.8589 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.696e-05/0.6586, allocations: 9.438 kB / 0.8589 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002915/0.6589, allocations: 199 kB / 0.8591 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007233/0.6661, allocations: 2.095 MB / 0.8611 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.6691, allocations: 1.214 MB / 0.8623 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.6692, allocations: 89.92 kB / 0.8624 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.6694, allocations: 120.8 kB / 0.8625 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004607/0.674, allocations: 2.684 MB / 0.8651 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.674, allocations: 12.27 kB / 0.8652 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.6742, allocations: 53.64 kB / 0.8652 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003864/0.6746, allocations: 174.7 kB / 0.8654 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004738/0.6793, allocations: 2.802 MB / 0.8681 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.6905, allocations: 10.36 MB / 0.8782 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.694, allocations: 2.224 MB / 0.8804 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.6959, allocations: 1.21 MB / 0.8816 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.381e-05/0.6959, allocations: 20.98 kB / 0.8816 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.696, allocations: 43.56 kB / 0.8816 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 3.968e-06/0.696, allocations: 0 / 0.8816 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.02454/0.7205, allocations: 12.67 MB / 0.894 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.7206, allocations: 72.72 kB / 0.8941 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.7218, allocations: 1.109 MB / 0.8952 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.722, allocations: 45.7 kB / 0.8952 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.7224, allocations: 0.7326 MB / 0.8959 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003524/0.7227, allocations: 475.9 kB / 0.8964 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/0.723, allocations: 259.5 kB / 0.8966 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.7232, allocations: 361.9 kB / 0.897 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.7251, allocations: 1.346 MB / 0.8983 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.7272, allocations: 1.596 MB / 0.8998 GB, free: 0.9297 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003847/0.7311, allocations: 2.998 MB / 0.9028 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.7311, allocations: 4 kB / 0.9028 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006679/0.7377, allocations: 4.4 MB / 0.9071 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.7378, allocations: 13.97 kB / 0.9071 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.7378, allocations: 8 kB / 0.9071 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/0.7406, allocations: 1.444 MB / 0.9085 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.7418, allocations: 431.2 kB / 0.9089 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/0.7602, allocations: 25.35 MB / 0.9337 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.7619, allocations: 307.5 kB / 0.934 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.762, allocations: 59.97 kB / 0.934 GB, free: 12.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007368/0.7628, allocations: 438 kB / 0.9344 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/0.7631, allocations: 167 kB / 0.9346 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007143/0.7702, allocations: 4.402 MB / 0.9389 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.7702, allocations: 12 kB / 0.9389 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.283e-05/0.7703, allocations: 16 kB / 0.9389 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.7703, allocations: 7.969 kB / 0.9389 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.7812, allocations: 6.7 MB / 0.9455 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.7813, allocations: 4 kB / 0.9455 GB, free: 300 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009473/0.7822, allocations: 379.4 kB / 0.9458 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002548/0.7848, allocations: 1.316 MB / 0.9471 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.7849, allocations: 39.97 kB / 0.9472 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/0.8021, allocations: 24.17 MB / 0.9708 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.8021, allocations: 8.016 kB / 0.9708 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006596/0.8087, allocations: 4.171 MB / 0.9748 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/0.8101, allocations: 386.7 kB / 0.9752 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.8104, allocations: 24 kB / 0.9752 GB, free: 196 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/0.8122, allocations: 311.5 kB / 0.9755 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005562/0.8127, allocations: 124.6 kB / 0.9757 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.8129, allocations: 59.95 kB / 0.9757 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001311/0.8142, allocations: 0.7526 MB / 0.9764 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8142, allocations: 0 / 0.9764 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002594/0.8168, allocations: 0.5664 MB / 0.977 GB, free: 14.39 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008861/0.8257, allocations: 4.755 MB / 0.9816 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006415/0.8321, allocations: 4.966 MB / 0.9865 GB, free: 4.391 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.964e-06/0.8321, allocations: 3.938 kB / 0.9865 GB, free: 4.387 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004815/0.8369, allocations: 3.413 MB / 0.9898 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.8394, allocations: 0.5482 MB / 0.9904 GB, free: 284 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/0.8685, allocations: 19.35 MB / 1.009 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.8696, allocations: 1.473 MB / 1.011 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001261/0.8709, allocations: 425.6 kB / 1.011 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/0.8716, allocations: 0.6281 MB / 1.012 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of SimCode: time 1.483e-06/0.8716, allocations: 0 / 1.012 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09924/0.9708, allocations: 53.35 MB / 1.064 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.63/10.6, allocations: 7.328 kB / 1.064 GB, free: 5.105 MB / 0.8386 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.8058234420605] Failed to read output from testmodel.py, exit status != 0: 10.707032616017386 10.717419165 10.061449611 Calling exit ...