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.0009419/0.0009419, 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.001822/0.001822, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.074/1.074, allocations: 230.6 MB / 256 MB, free: 9.801 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.815/0.815, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.0009707/0.0009707, allocations: 70.94 kB / 0.7183 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.4988, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02439/0.5232, allocations: 32.14 MB / 0.8493 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.5385, allocations: 14.01 MB / 0.8629 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.541, allocations: 190.6 kB / 0.8631 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004188/0.5452, allocations: 3.335 MB / 0.8664 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.5508, allocations: 2.79 MB / 0.8691 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.5549, allocations: 2.065 MB / 0.8711 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00727/0.5621, allocations: 7.63 MB / 0.8786 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005137/0.5673, allocations: 4.658 MB / 0.8831 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00462/0.5719, allocations: 3.516 MB / 0.8866 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004347/0.5762, allocations: 3.57 MB / 0.89 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.5776, allocations: 0.5938 MB / 0.8906 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.5803, allocations: 1.517 MB / 0.8921 GB, free: 9.727 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.5821, allocations: 2.428 MB / 0.8945 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00259/0.5847, allocations: 2.882 MB / 0.8973 GB, free: 4.398 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006851/0.5915, allocations: 9.488 MB / 0.9066 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5915, allocations: 4 kB / 0.9066 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5915, allocations: 0 / 0.9066 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001474/0.5917, allocations: 4 kB / 0.9066 GB, free: 10.87 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.005958/0.5976, allocations: 5.187 MB / 0.9116 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5977, allocations: 12.03 kB / 0.9116 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005294/0.5982, allocations: 0.6203 MB / 0.9122 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.6009, allocations: 1.02 MB / 0.9132 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003422/0.6043, allocations: 3.025 MB / 0.9162 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.6045, allocations: 308.9 kB / 0.9165 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006368/0.6051, allocations: 427.8 kB / 0.9169 GB, free: 108 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006701/0.6118, allocations: 6.795 MB / 0.9235 GB, free: 9.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.955e-05/0.6119, allocations: 23.88 kB / 0.9236 GB, free: 8.996 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000543/0.6124, allocations: 184 kB / 0.9237 GB, free: 8.816 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000441/0.6129, allocations: 368 kB / 0.9241 GB, free: 8.453 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00556/0.6184, allocations: 5.118 MB / 0.9291 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02089/0.6393, allocations: 30.27 MB / 0.9586 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.6406, allocations: 1.311 MB / 0.9599 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.6417, allocations: 1.254 MB / 0.9611 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.6418, allocations: 13.31 kB / 0.9612 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.6418, allocations: 51.86 kB / 0.9612 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=130): time 2.475e-06/0.6418, allocations: 4 kB / 0.9612 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=199): time 0.04428/0.6861, allocations: 22.85 MB / 0.9835 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.6862, allocations: 73.41 kB / 0.9836 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.6885, allocations: 2.063 MB / 0.9856 GB, free: 6.555 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.6886, allocations: 57.7 kB / 0.9857 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.6901, allocations: 2.066 MB / 0.9877 GB, free: 4.406 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004134/0.6905, allocations: 0.7087 MB / 0.9884 GB, free: 3.691 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004432/0.6909, allocations: 416.4 kB / 0.9888 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.691, allocations: 305.1 kB / 0.9891 GB, free: 2.977 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.6924, allocations: 1.43 MB / 0.9905 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.694, allocations: 2.017 MB / 0.9924 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003488/0.6975, allocations: 3.692 MB / 0.996 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.6975, allocations: 8 kB / 0.996 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006894/0.7044, allocations: 5.596 MB / 1.002 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.7044, allocations: 14.19 kB / 1.002 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.7044, allocations: 20.12 kB / 1.002 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/0.7078, allocations: 2.079 MB / 1.004 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.7086, allocations: 383.3 kB / 1.004 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02421/0.7328, allocations: 36.61 MB / 1.04 GB, free: 12.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.735, allocations: 127.9 kB / 1.04 GB, free: 12.33 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.7351, allocations: 92 kB / 1.04 GB, free: 12.24 MB / 0.823 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.002471/0.7376, allocations: 1.508 MB / 1.041 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.7379, allocations: 302.2 kB / 1.042 GB, free: 10.42 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/0.7439, allocations: 5.145 MB / 1.047 GB, free: 5.203 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.7439, allocations: 20 kB / 1.047 GB, free: 5.184 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/0.7439, allocations: 16 kB / 1.047 GB, free: 5.168 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.7439, allocations: 7.969 kB / 1.047 GB, free: 5.16 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.7548, allocations: 9.586 MB / 1.056 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.7548, allocations: 8 kB / 1.056 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.7552, allocations: 211.6 kB / 1.056 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/0.7584, allocations: 1.843 MB / 1.058 GB, free: 9.258 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-05/0.7585, allocations: 43.94 kB / 1.058 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/0.7809, allocations: 35.63 MB / 1.093 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.7809, allocations: 7.938 kB / 1.093 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005665/0.7866, allocations: 4.856 MB / 1.098 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009033/0.7875, allocations: 0.5527 MB / 1.098 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.7877, allocations: 55.92 kB / 1.098 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/0.7884, allocations: 123.8 kB / 1.098 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004315/0.7888, allocations: 201.5 kB / 1.099 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.967e-05/0.7889, allocations: 56 kB / 1.099 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001344/0.7902, allocations: 1.378 MB / 1.1 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7902, allocations: 0 / 1.1 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002332/0.7926, allocations: 1.043 MB / 1.101 GB, free: 11.07 MB / 0.8855 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.005364/0.7979, allocations: 5.478 MB / 1.106 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006075/0.804, allocations: 6.01 MB / 1.112 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.804, allocations: 4 kB / 1.112 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003593/0.8076, allocations: 4.285 MB / 1.116 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.8101, allocations: 0.9889 MB / 1.117 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/0.8435, allocations: 30.75 MB / 1.147 GB, free: 9.926 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/0.8463, allocations: 3.121 MB / 1.15 GB, free: 6.77 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001427/0.8477, allocations: 0.5238 MB / 1.151 GB, free: 6.242 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/0.8491, allocations: 1.671 MB / 1.153 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of SimCode: time 1.863e-06/0.8491, allocations: 0 / 1.153 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4853/1.334, allocations: 90.93 MB / 1.241 GB, free: 244.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/12.35, allocations: 2.5 kB / 1.241 GB, free: 244.4 MB / 0.9323 GB " [Timeout remaining time 648] (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: 15.641194011084735] Failed to read output from testmodel.py, exit status != 0: 12.472009337041527 12.483383268 11.889319385 Calling exit ...