Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.0007195/0.0007195, 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.001203/0.001203, allocations: 222.9 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.044/1.044, 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.8146/0.8146, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001277/0.001277, allocations: 61.31 kB / 0.7182 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.5328, allocations: 102 MB / 0.8179 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02418/0.557, allocations: 27.91 MB / 0.8451 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01284/0.5698, allocations: 8.395 MB / 0.8533 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/0.5726, allocations: 153.9 kB / 0.8535 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004406/0.577, allocations: 2.887 MB / 0.8563 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.5816, allocations: 1.669 MB / 0.8579 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.5854, allocations: 1.735 MB / 0.8596 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007257/0.5926, allocations: 6.141 MB / 0.8656 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005346/0.598, allocations: 3.774 MB / 0.8693 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004613/0.6026, allocations: 2.661 MB / 0.8719 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006367/0.609, allocations: 2.993 MB / 0.8748 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002389/0.6113, allocations: 0.508 MB / 0.8753 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004501/0.6158, allocations: 1.31 MB / 0.8766 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00333/0.6192, allocations: 2.109 MB / 0.8787 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004176/0.6233, allocations: 2.381 MB / 0.881 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008098/0.6314, allocations: 8.079 MB / 0.8889 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6315, allocations: 0 / 0.8889 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6315, allocations: 0 / 0.8889 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002403/0.6317, allocations: 3.984 kB / 0.8889 GB, free: 13.03 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007984/0.6397, allocations: 4.252 MB / 0.893 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.6397, allocations: 11.97 kB / 0.8931 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007283/0.6404, allocations: 0.5382 MB / 0.8936 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/0.6431, allocations: 0.8295 MB / 0.8944 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/0.6473, allocations: 2.53 MB / 0.8969 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.6475, allocations: 271.7 kB / 0.8971 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006289/0.6481, allocations: 380.3 kB / 0.8975 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008055/0.6561, allocations: 5.992 MB / 0.9033 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.732e-05/0.6562, allocations: 15.83 kB / 0.9033 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002824/0.6565, allocations: 156 kB / 0.9035 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005333/0.657, allocations: 286.9 kB / 0.9038 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006169/0.6632, allocations: 4.52 MB / 0.9082 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0233/0.6865, allocations: 27.24 MB / 0.9348 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.6877, allocations: 1.06 MB / 0.9358 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009045/0.6886, allocations: 0.9625 MB / 0.9368 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.92e-05/0.6886, allocations: 16.94 kB / 0.9368 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.6887, allocations: 47.56 kB / 0.9368 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 3.035e-06/0.6887, allocations: 0 / 0.9368 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=131): time 0.01362/0.7023, allocations: 9.097 MB / 0.9457 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.7023, allocations: 68.7 kB / 0.9458 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.704, allocations: 1.498 MB / 0.9472 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.031e-05/0.7041, allocations: 49.7 kB / 0.9473 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008636/0.705, allocations: 1.711 MB / 0.9489 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.7053, allocations: 499.8 kB / 0.9494 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.7057, allocations: 323.4 kB / 0.9497 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.7058, allocations: 309 kB / 0.95 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009827/0.7068, allocations: 0.9174 MB / 0.9509 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.7081, allocations: 1.467 MB / 0.9524 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/0.7105, allocations: 2.546 MB / 0.9548 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.7105, allocations: 4 kB / 0.9548 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004114/0.7146, allocations: 3.267 MB / 0.958 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.7146, allocations: 23.92 kB / 0.9581 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.7147, allocations: 16 kB / 0.9581 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.7162, allocations: 0.7419 MB / 0.9588 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009015/0.7171, allocations: 383.4 kB / 0.9592 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.7285, allocations: 16.12 MB / 0.9749 GB, free: 332 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.7297, allocations: 103.9 kB / 0.975 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.7299, allocations: 72 kB / 0.9751 GB, free: 156 kB / 0.7448 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,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.001837/0.7317, allocations: 1.317 MB / 0.9764 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.7321, allocations: 214.7 kB / 0.9766 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/0.7353, allocations: 2.753 MB / 0.9793 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.7353, allocations: 16 kB / 0.9793 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.7353, allocations: 4.141 kB / 0.9793 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.7353, allocations: 11.95 kB / 0.9793 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007252/0.7426, allocations: 6.185 MB / 0.9853 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.7426, allocations: 8.125 kB / 0.9853 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.7432, allocations: 239.6 kB / 0.9856 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.7446, allocations: 0.6635 MB / 0.9862 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.523e-05/0.7447, allocations: 35.98 kB / 0.9862 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.755, allocations: 15.87 MB / 1.002 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.755, allocations: 7.938 kB / 1.002 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004663/0.7597, allocations: 3.998 MB / 1.006 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008577/0.7605, allocations: 374.6 kB / 1.006 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.7607, allocations: 43.92 kB / 1.006 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.7612, allocations: 80.02 kB / 1.006 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.7615, allocations: 124.6 kB / 1.006 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.7616, allocations: 44 kB / 1.006 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001264/0.7628, allocations: 0.9903 MB / 1.007 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7628, allocations: 0 / 1.007 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001825/0.7646, allocations: 0.6836 MB / 1.008 GB, free: 13.13 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004196/0.7688, allocations: 4.589 MB / 1.012 GB, free: 8.426 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003918/0.7728, allocations: 3.385 MB / 1.016 GB, free: 4.922 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.7728, allocations: 0 / 1.016 GB, free: 4.922 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.7747, allocations: 2.249 MB / 1.018 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.7769, allocations: 0.6722 MB / 1.019 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/0.8027, allocations: 21.31 MB / 1.039 GB, free: 11.74 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002531/0.8053, allocations: 2.664 MB / 1.042 GB, free: 9.039 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001168/0.8064, allocations: 489.4 kB / 1.042 GB, free: 8.559 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.8076, allocations: 1.276 MB / 1.044 GB, free: 7.281 MB / 0.823 GB Notification: Performance of SimCode: time 1.943e-06/0.8076, allocations: 0 / 1.044 GB, free: 7.281 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09476/0.9024, allocations: 59.07 MB / 1.101 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.594/10.5, allocations: 3.266 kB / 1.101 GB, free: 12.7 MB / 0.8855 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.759583265986294] Failed to read output from testmodel.py, exit status != 0: 10.599968624999747 10.618278875 9.983200094 Calling exit ...