Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.000773/0.000773, allocations: 76.45 kB / 19.91 MB, free: 12 kB / 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.0007853/0.0007853, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8411/0.8411, allocations: 177.2 MB / 203.6 MB, free: 5.793 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.7018/0.7018, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [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.001325/0.001325, allocations: 76.17 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4283, allocations: 101.9 MB / 0.7191 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02208/0.4504, allocations: 31.3 MB / 0.7497 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.4687, allocations: 14.37 MB / 0.7637 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003972/0.4727, allocations: 203.3 kB / 0.7639 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.005857/0.4785, allocations: 3.665 MB / 0.7675 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007881/0.4864, allocations: 3.008 MB / 0.7704 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005358/0.4918, allocations: 2.345 MB / 0.7727 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01149/0.5033, allocations: 8.816 MB / 0.7813 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008993/0.5123, allocations: 5.492 MB / 0.7867 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01144/0.5237, allocations: 5.661 MB / 0.7922 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007036/0.5307, allocations: 3.998 MB / 0.7961 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001835/0.5326, allocations: 0.7188 MB / 0.7968 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003885/0.5365, allocations: 1.622 MB / 0.7984 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003414/0.5399, allocations: 2.899 MB / 0.8012 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005495/0.5454, allocations: 2.759 MB / 0.8039 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.5592, allocations: 11.79 MB / 0.8155 GB, free: 15.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.5592, allocations: 0 / 0.8155 GB, free: 15.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5592, allocations: 0 / 0.8155 GB, free: 15.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003334/0.5595, allocations: 0 / 0.8155 GB, free: 15.17 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01127/0.5708, allocations: 6.057 MB / 0.8214 GB, free: 9.051 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.5708, allocations: 8.031 kB / 0.8214 GB, free: 9.043 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/0.5755, allocations: 1.18 MB / 0.8225 GB, free: 7.859 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005874/0.5814, allocations: 3.47 MB / 0.8259 GB, free: 4.301 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.5816, allocations: 370.4 kB / 0.8263 GB, free: 3.938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.5827, allocations: 0.4922 MB / 0.8268 GB, free: 3.445 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.596, allocations: 8.858 MB / 0.8354 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.5961, allocations: 27.81 kB / 0.8354 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007452/0.5968, allocations: 216 kB / 0.8356 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006306/0.5975, allocations: 433.6 kB / 0.8361 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009143/0.6066, allocations: 6.081 MB / 0.842 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02464/0.6313, allocations: 21.22 MB / 0.8627 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.6332, allocations: 1.909 MB / 0.8646 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.6349, allocations: 1.741 MB / 0.8663 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.26e-05/0.635, allocations: 18 kB / 0.8663 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.6351, allocations: 60.5 kB / 0.8663 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=171): time 3.968e-06/0.6351, allocations: 0 / 0.8663 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=276): time 0.07652/0.7116, allocations: 38.69 MB / 0.9041 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.7116, allocations: 77.58 kB / 0.9042 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.7139, allocations: 2.036 MB / 0.9062 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002106/0.7141, allocations: 73.7 kB / 0.9063 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.7152, allocations: 2.352 MB / 0.9086 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006553/0.7159, allocations: 0.9798 MB / 0.9095 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006254/0.7165, allocations: 0.5102 MB / 0.91 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/0.7166, allocations: 301.1 kB / 0.9103 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.7187, allocations: 1.977 MB / 0.9122 GB, free: 10.78 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.721, allocations: 2.599 MB / 0.9148 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/0.7256, allocations: 4.941 MB / 0.9196 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.7256, allocations: 4 kB / 0.9196 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009895/0.7355, allocations: 7.623 MB / 0.927 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.7355, allocations: 19.97 kB / 0.9271 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.7356, allocations: 19.94 kB / 0.9271 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005604/0.7412, allocations: 3.209 MB / 0.9302 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.7423, allocations: 403.3 kB / 0.9306 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02933/0.7716, allocations: 32.58 MB / 0.9624 GB, free: 6.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.7741, allocations: 155.8 kB / 0.9626 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003961/0.7745, allocations: 108 kB / 0.9627 GB, free: 5.926 MB / 0.8386 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003162/0.7777, allocations: 1.798 MB / 0.9644 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006605/0.7784, allocations: 314.1 kB / 0.9647 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00906/0.7874, allocations: 7.221 MB / 0.9718 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.7874, allocations: 32 kB / 0.9718 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.721e-05/0.7875, allocations: 28 kB / 0.9718 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/0.7876, allocations: 19.88 kB / 0.9718 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.8039, allocations: 11.4 MB / 0.983 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.8039, allocations: 8 kB / 0.983 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/0.8045, allocations: 227.6 kB / 0.9832 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004981/0.8095, allocations: 2.849 MB / 0.986 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003047/0.8098, allocations: 56.12 kB / 0.986 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3718/1.182, allocations: 31.35 MB / 1.017 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/1.182, allocations: 6.562 kB / 1.017 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00967/1.191, allocations: 6.754 MB / 1.023 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/1.193, allocations: 0.6958 MB / 1.024 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/1.193, allocations: 51.58 kB / 1.024 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.194, allocations: 168.8 kB / 1.024 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008034/1.195, allocations: 275.7 kB / 1.024 GB, free: 240 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.195, allocations: 74.59 kB / 1.024 GB, free: 240 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001621/1.197, allocations: 1.331 MB / 1.026 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/1.197, allocations: 0.9688 kB / 1.026 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004469/1.201, allocations: 1.363 MB / 1.027 GB, free: 239.9 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003354/1.202, allocations: 179.1 kB / 1.027 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008146/1.21, allocations: 6.561 MB / 1.034 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/1.21, allocations: 2.219 kB / 1.034 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005446/1.215, allocations: 4.252 MB / 1.038 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/1.219, allocations: 1.006 MB / 1.039 GB, free: 235 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/1.235, allocations: 11.04 MB / 1.05 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005278/1.241, allocations: 3.226 MB / 1.053 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006808/1.241, allocations: 157.3 kB / 1.053 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.403e-06/1.241, allocations: 2.156 kB / 1.053 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.1359/1.377, allocations: 228 MB / 1.276 GB, free: 23.07 MB / 0.8855 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.637700085993856] Failed to read output from testmodel.py, exit status != 0: 1.385629003867507 1.391505982 0.830636203 Calling exit ...