Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.0007821/0.0007821, 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.0009719/0.0009719, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9695/0.9695, allocations: 230.6 MB / 256 MB, free: 9.812 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.7801/0.7801, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.0008788/0.0008788, allocations: 66.58 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4635, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02027/0.4838, allocations: 24.45 MB / 0.8418 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009925/0.4937, allocations: 6.703 MB / 0.8483 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/0.4965, allocations: 126.4 kB / 0.8484 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003155/0.4996, allocations: 1.562 MB / 0.8499 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004972/0.5046, allocations: 1.936 MB / 0.8518 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.5079, allocations: 1.511 MB / 0.8533 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007739/0.5156, allocations: 6.91 MB / 0.8601 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006012/0.5216, allocations: 3.764 MB / 0.8637 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005127/0.5267, allocations: 2.923 MB / 0.8666 GB, free: 240 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00559/0.5323, allocations: 3.731 MB / 0.8702 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001948/0.5343, allocations: 0.527 MB / 0.8707 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/0.5378, allocations: 1.197 MB / 0.8719 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003412/0.5412, allocations: 2.537 MB / 0.8744 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.005578/0.5468, allocations: 2.536 MB / 0.8769 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009278/0.5561, allocations: 8.545 MB / 0.8852 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5561, allocations: 0 / 0.8852 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5561, allocations: 0 / 0.8852 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002741/0.5564, allocations: 0 / 0.8852 GB, free: 0.8516 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009203/0.5656, allocations: 4.472 MB / 0.8896 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.5656, allocations: 8.031 kB / 0.8896 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00105/0.5667, allocations: 0.5753 MB / 0.8902 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005107/0.5718, allocations: 1.703 MB / 0.8918 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/0.576, allocations: 2.665 MB / 0.8944 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.5761, allocations: 271.7 kB / 0.8947 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007832/0.5769, allocations: 368.2 kB / 0.895 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009828/0.5867, allocations: 7.487 MB / 0.9023 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.053e-05/0.5868, allocations: 15.88 kB / 0.9024 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004667/0.5873, allocations: 159.9 kB / 0.9025 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003884/0.5877, allocations: 487.3 kB / 0.903 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008009/0.5957, allocations: 5.697 MB / 0.9085 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03124/0.6269, allocations: 31.27 MB / 0.9391 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.6301, allocations: 2.031 MB / 0.9411 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003324/0.6334, allocations: 2.096 MB / 0.9431 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.6335, allocations: 25.23 kB / 0.9431 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.6336, allocations: 51.86 kB / 0.9432 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=146): time 3.937e-06/0.6336, allocations: 0 / 0.9432 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=251): time 0.155/0.7886, allocations: 76.72 MB / 1.018 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.7887, allocations: 77.41 kB / 1.018 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.7908, allocations: 1.67 MB / 1.02 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000375/0.7911, allocations: 65.7 kB / 1.02 GB, free: 3.562 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008351/0.792, allocations: 1.799 MB / 1.022 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006995/0.7927, allocations: 0.8907 MB / 1.022 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006288/0.7933, allocations: 481.4 kB / 1.023 GB, free: 384 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.7934, allocations: 309.1 kB / 1.023 GB, free: 72 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/0.7961, allocations: 2.726 MB / 1.026 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003213/0.7993, allocations: 3.332 MB / 1.029 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006285/0.8056, allocations: 6.393 MB / 1.035 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.8056, allocations: 4 kB / 1.035 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02032/0.8259, allocations: 14.41 MB / 1.049 GB, free: 4.66 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.826, allocations: 14.19 kB / 1.049 GB, free: 4.648 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.826, allocations: 20 kB / 1.05 GB, free: 4.629 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01719/0.8432, allocations: 9.247 MB / 1.059 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008301/0.844, allocations: 295.5 kB / 1.059 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05387/0.8979, allocations: 51.77 MB / 1.109 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.8998, allocations: 228 kB / 1.11 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/0.9, allocations: 104 kB / 1.11 GB, free: 6.234 MB / 0.8855 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002418/0.9024, allocations: 1.584 MB / 1.111 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/0.9028, allocations: 262.5 kB / 1.112 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02034/0.9231, allocations: 14.47 MB / 1.126 GB, free: 5.855 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/0.9232, allocations: 24 kB / 1.126 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001257/0.9233, allocations: 44 kB / 1.126 GB, free: 5.789 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.95e-05/0.9233, allocations: 11.95 kB / 1.126 GB, free: 5.777 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/0.9551, allocations: 20.21 MB / 1.145 GB, free: 1.367 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.483e-05/0.9552, allocations: 8 kB / 1.145 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.9558, allocations: 163.7 kB / 1.146 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3823/1.338, allocations: 9.006 MB / 1.154 GB, free: 283.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005975/1.339, allocations: 46.62 kB / 1.154 GB, free: 283.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04776/1.386, allocations: 51.36 MB / 1.205 GB, free: 262.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.386, allocations: 7.562 kB / 1.205 GB, free: 262.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/1.403, allocations: 14.1 MB / 1.218 GB, free: 253.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.405, allocations: 0.779 MB / 1.219 GB, free: 252.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/1.405, allocations: 51.98 kB / 1.219 GB, free: 252.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/1.406, allocations: 207.7 kB / 1.219 GB, free: 252.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/1.407, allocations: 253.1 kB / 1.22 GB, free: 252.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/1.407, allocations: 64 kB / 1.22 GB, free: 252.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009286/1.408, allocations: 1.129 MB / 1.221 GB, free: 251 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.71e-07/1.408, allocations: 0 / 1.221 GB, free: 251 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003451/1.412, allocations: 1.613 MB / 1.222 GB, free: 249.4 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0163/1.428, allocations: 14.71 MB / 1.237 GB, free: 234.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.44, allocations: 10.2 MB / 1.247 GB, free: 224.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.44, allocations: 0 / 1.247 GB, free: 224.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.009275/1.449, allocations: 7.016 MB / 1.254 GB, free: 217.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/1.451, allocations: 0.5589 MB / 1.254 GB, free: 216.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05722/1.509, allocations: 50.51 MB / 1.303 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002606/1.511, allocations: 3.228 MB / 1.307 GB, free: 161.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007835/1.512, allocations: 391.3 kB / 1.307 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008941/1.513, allocations: 1.464 MB / 1.308 GB, free: 160.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.272e-06/1.513, allocations: 0 / 1.308 GB, free: 160.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1218/1.635, allocations: 124.6 MB / 1.43 GB, free: 35.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/12.41, allocations: 6.047 kB / 1.43 GB, free: 35.7 MB / 0.9167 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.47369652800262] Failed to read output from testmodel.py, exit status != 0: 12.521105446852744 12.527914415 11.970209155 Calling exit ...