Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009051/0.0009051, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001003/0.001003, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.9103/0.9103, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7031/0.7031, allocations: 154.6 MB / 414.5 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6194 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.292e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01439/0.01443, allocations: 19.12 MB / 0.638 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007713/0.02214, allocations: 6.386 MB / 0.6443 GB, free: 3.492 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.02345, allocations: 111.2 kB / 0.6444 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.0262, allocations: 2.261 MB / 0.6466 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.02864, allocations: 1.27 MB / 0.6478 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.03084, allocations: 1.304 MB / 0.6491 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004258/0.0351, allocations: 4.939 MB / 0.6539 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003502/0.0386, allocations: 3.166 MB / 0.657 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.04207, allocations: 3.009 MB / 0.6599 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.04446, allocations: 2.19 MB / 0.6621 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005644/0.04503, allocations: 432 kB / 0.6625 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.04639, allocations: 0.9514 MB / 0.6634 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.04762, allocations: 1.785 MB / 0.6652 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.04903, allocations: 1.337 MB / 0.6665 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.05389, allocations: 6.642 MB / 0.673 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.0539, allocations: 0 / 0.673 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.0539, allocations: 0 / 0.673 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001379/0.05404, allocations: 0 / 0.673 GB, free: 5.973 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00519/0.05923, allocations: 3.438 MB / 0.6763 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.05927, allocations: 8.031 kB / 0.6763 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.06123, allocations: 0.6507 MB / 0.677 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2727/0.3339, allocations: 2 MB / 0.6789 GB, free: 94.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.334, allocations: 222.8 kB / 0.6791 GB, free: 94.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008013/0.3348, allocations: 292.9 kB / 0.6794 GB, free: 94.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005269/0.3401, allocations: 5.238 MB / 0.6845 GB, free: 91.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.355e-05/0.3402, allocations: 16.12 kB / 0.6845 GB, free: 91.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.3404, allocations: 128.3 kB / 0.6847 GB, free: 91.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002388/0.3406, allocations: 229.7 kB / 0.6849 GB, free: 91.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003592/0.3442, allocations: 3.742 MB / 0.6885 GB, free: 90.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009687/0.3539, allocations: 13.1 MB / 0.7013 GB, free: 82.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009908/0.3549, allocations: 1.23 MB / 0.7025 GB, free: 81.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007781/0.3557, allocations: 0.9792 MB / 0.7035 GB, free: 81.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/0.3557, allocations: 11.66 kB / 0.7035 GB, free: 81.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3557, allocations: 48.75 kB / 0.7035 GB, free: 81.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 2.795e-06/0.3557, allocations: 0 / 0.7035 GB, free: 81.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=138): time 0.01288/0.3686, allocations: 8.42 MB / 0.7118 GB, free: 78.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.3687, allocations: 69.59 kB / 0.7118 GB, free: 78.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.3699, allocations: 1.061 MB / 0.7129 GB, free: 78.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.243e-05/0.37, allocations: 47.02 kB / 0.7129 GB, free: 78.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005525/0.3705, allocations: 1.347 MB / 0.7142 GB, free: 77.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.3708, allocations: 496.3 kB / 0.7147 GB, free: 77.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.3712, allocations: 292 kB / 0.715 GB, free: 77.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.3712, allocations: 302.2 kB / 0.7153 GB, free: 76.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009753/0.3722, allocations: 0.9137 MB / 0.7162 GB, free: 76.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.3732, allocations: 1.324 MB / 0.7175 GB, free: 75.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.3752, allocations: 2.43 MB / 0.7198 GB, free: 74.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.495e-06/0.3752, allocations: 3.281 kB / 0.7198 GB, free: 74.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003771/0.379, allocations: 3.418 MB / 0.7232 GB, free: 72.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.379, allocations: 10.66 kB / 0.7232 GB, free: 72.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.379, allocations: 12.28 kB / 0.7232 GB, free: 72.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/0.3811, allocations: 1.186 MB / 0.7243 GB, free: 72.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.3816, allocations: 255.6 kB / 0.7246 GB, free: 72.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.3925, allocations: 13.25 MB / 0.7375 GB, free: 64.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.3935, allocations: 88.95 kB / 0.7376 GB, free: 64.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.119e-05/0.3936, allocations: 62.22 kB / 0.7377 GB, free: 64.6 MB / 0.6355 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.001573/0.3952, allocations: 1.121 MB / 0.7388 GB, free: 64.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.3953, allocations: 166.2 kB / 0.7389 GB, free: 63.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/0.399, allocations: 3.138 MB / 0.742 GB, free: 62.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.399, allocations: 14.09 kB / 0.742 GB, free: 62.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.399, allocations: 16 kB / 0.742 GB, free: 62.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.399, allocations: 7.125 kB / 0.742 GB, free: 62.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006564/0.4056, allocations: 5.458 MB / 0.7474 GB, free: 60.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4056, allocations: 4.344 kB / 0.7474 GB, free: 60.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.4059, allocations: 147.5 kB / 0.7475 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.4076, allocations: 1.066 MB / 0.7485 GB, free: 60.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.4076, allocations: 30.08 kB / 0.7486 GB, free: 60.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008702/0.4163, allocations: 12.97 MB / 0.7612 GB, free: 50.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4164, allocations: 7.938 kB / 0.7612 GB, free: 50.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.4191, allocations: 3.108 MB / 0.7643 GB, free: 47.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/0.4196, allocations: 342.9 kB / 0.7646 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/0.4197, allocations: 28 kB / 0.7646 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.4201, allocations: 83.89 kB / 0.7647 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/0.4203, allocations: 128.6 kB / 0.7648 GB, free: 46.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.4204, allocations: 36 kB / 0.7649 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000554/0.4209, allocations: 0.7098 MB / 0.7656 GB, free: 46.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4209, allocations: 0 / 0.7656 GB, free: 46.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001627/0.4225, allocations: 0.6562 MB / 0.7662 GB, free: 45.43 MB / 0.6355 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.0001646/0.4227, allocations: 143.1 kB / 0.7663 GB, free: 45.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002522/0.4252, allocations: 3.015 MB / 0.7693 GB, free: 42.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4252, allocations: 2.812 kB / 0.7693 GB, free: 42.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.4266, allocations: 1.887 MB / 0.7711 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.4276, allocations: 475.7 kB / 0.7716 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/0.4331, allocations: 5.931 MB / 0.7774 GB, free: 33.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.4343, allocations: 1.816 MB / 0.7792 GB, free: 32.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.4345, allocations: 92.48 kB / 0.7792 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of SimCode: time 1.282e-06/0.4345, allocations: 0 / 0.7792 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of Templates: time 0.04952/0.484, allocations: 80.26 MB / 0.8576 GB, free: 15.77 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.80700100865215] Failed to read output from testmodel.py, exit status != 0: 0.49112884141504765 0.49827368000000005 0.442601929 Calling exit ...