Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0008373/0.0008373, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001838/0.001838, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.011/1.011, allocations: 230.6 MB / 256 MB, free: 9.633 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.8276/0.8276, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.0009708/0.0009708, allocations: 66.45 kB / 0.7182 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.5504, 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_N): time 0.01953/0.57, allocations: 21.23 MB / 0.8386 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.5813, allocations: 6.716 MB / 0.8452 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.584, allocations: 111.2 kB / 0.8453 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003933/0.588, allocations: 2.345 MB / 0.8476 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003819/0.5918, allocations: 1.243 MB / 0.8488 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003891/0.5957, allocations: 1.323 MB / 0.8501 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006123/0.6018, allocations: 4.852 MB / 0.8548 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004412/0.6062, allocations: 3.18 MB / 0.8579 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003583/0.6098, allocations: 2.146 MB / 0.86 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004589/0.6144, allocations: 2.473 MB / 0.8624 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001426/0.6158, allocations: 437.9 kB / 0.8628 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.6188, allocations: 1.021 MB / 0.8638 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00229/0.6211, allocations: 1.711 MB / 0.8655 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003638/0.6247, allocations: 1.908 MB / 0.8674 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008141/0.6329, allocations: 6.54 MB / 0.8738 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6329, allocations: 0 / 0.8738 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6329, allocations: 1.219 kB / 0.8738 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002094/0.6331, allocations: 0 / 0.8738 GB, free: 11.8 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00782/0.6409, allocations: 3.469 MB / 0.8771 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.641, allocations: 8.031 kB / 0.8772 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008422/0.6418, allocations: 454.6 kB / 0.8776 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/0.6442, allocations: 0.6506 MB / 0.8782 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004808/0.649, allocations: 1.994 MB / 0.8802 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.6492, allocations: 218.3 kB / 0.8804 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009662/0.6502, allocations: 308 kB / 0.8807 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.6614, allocations: 4.886 MB / 0.8854 GB, free: 300 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.31e-05/0.6615, allocations: 11.88 kB / 0.8855 GB, free: 288 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005037/0.662, allocations: 128 kB / 0.8856 GB, free: 160 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004204/0.6624, allocations: 225.8 kB / 0.8858 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00759/0.67, allocations: 3.75 MB / 0.8895 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01858/0.6886, allocations: 21.24 MB / 0.9102 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.6898, allocations: 1.226 MB / 0.9114 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.6909, allocations: 0.9957 MB / 0.9124 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.6909, allocations: 13 kB / 0.9124 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.691, allocations: 47.5 kB / 0.9124 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 3.958e-06/0.691, allocations: 0 / 0.9124 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.01406/0.705, allocations: 8.432 MB / 0.9207 GB, free: 10.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.7051, allocations: 64.72 kB / 0.9207 GB, free: 10.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.7065, allocations: 1.126 MB / 0.9218 GB, free: 8.988 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.7066, allocations: 49.7 kB / 0.9219 GB, free: 8.934 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005842/0.7072, allocations: 1.339 MB / 0.9232 GB, free: 7.582 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.7075, allocations: 499.7 kB / 0.9237 GB, free: 7.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.7078, allocations: 295.4 kB / 0.9239 GB, free: 6.793 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.7078, allocations: 313 kB / 0.9242 GB, free: 6.484 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008828/0.7087, allocations: 0.9096 MB / 0.9251 GB, free: 5.574 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.7098, allocations: 1.326 MB / 0.9264 GB, free: 4.082 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.7121, allocations: 2.43 MB / 0.9288 GB, free: 1.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.7121, allocations: 4 kB / 0.9288 GB, free: 1.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004097/0.7162, allocations: 3.429 MB / 0.9321 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.7163, allocations: 11.98 kB / 0.9322 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.7163, allocations: 16 kB / 0.9322 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.7183, allocations: 1.19 MB / 0.9333 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.7189, allocations: 251.6 kB / 0.9336 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.7311, allocations: 13.55 MB / 0.9468 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.7322, allocations: 83.98 kB / 0.9469 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.7323, allocations: 67.98 kB / 0.9469 GB, free: 14.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001698/0.734, allocations: 1.106 MB / 0.948 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.7342, allocations: 183.3 kB / 0.9482 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.7381, allocations: 3.122 MB / 0.9512 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.7381, allocations: 16 kB / 0.9513 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.7381, allocations: 15.94 kB / 0.9513 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.7381, allocations: 11.97 kB / 0.9513 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007261/0.7454, allocations: 6.189 MB / 0.9573 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.7454, allocations: 4 kB / 0.9573 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.7457, allocations: 151.8 kB / 0.9575 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.7474, allocations: 1.076 MB / 0.9585 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.7474, allocations: 24 kB / 0.9586 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/0.7592, allocations: 13.23 MB / 0.9715 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7592, allocations: 8.125 kB / 0.9715 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00356/0.7627, allocations: 3.124 MB / 0.9745 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006724/0.7634, allocations: 358.8 kB / 0.9749 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.7635, allocations: 35.98 kB / 0.9749 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.764, allocations: 75.91 kB / 0.975 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.7642, allocations: 136.6 kB / 0.9751 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.7643, allocations: 40 kB / 0.9752 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007946/0.7651, allocations: 0.7632 MB / 0.9759 GB, free: 276 kB / 0.7448 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7651, allocations: 0 / 0.9759 GB, free: 276 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001759/0.7669, allocations: 0.6602 MB / 0.9765 GB, free: 15.61 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00379/0.7707, allocations: 3.709 MB / 0.9802 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003474/0.7741, allocations: 3.016 MB / 0.9831 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.7741, allocations: 0 / 0.9831 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.7765, allocations: 1.885 MB / 0.985 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.7781, allocations: 0.4976 MB / 0.9854 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02265/0.8008, allocations: 19.2 MB / 1.004 GB, free: 2.562 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002108/0.8029, allocations: 2.328 MB / 1.006 GB, free: 212 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0008506/0.8038, allocations: 350.2 kB / 1.007 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008256/0.8046, allocations: 1.011 MB / 1.008 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of SimCode: time 1.673e-06/0.8046, allocations: 0 / 1.008 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08416/0.8887, allocations: 54.14 MB / 1.061 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.964/9.853, allocations: 6.656 kB / 1.061 GB, free: 9.152 MB / 0.8386 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.061622622888535] Failed to read output from testmodel.py, exit status != 0: 9.953102111117914 9.964212739 9.329324186 Calling exit ...