Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.000937/0.000937, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009637/0.0009637, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.8896/0.8896, allocations: 177.2 MB / 204.5 MB, free: 5.492 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-545:108: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-545:116: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.7947/0.7947, allocations: 154.6 MB / 415.6 MB, free: 0.5117 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5215 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.523e-05, allocations: 3.188 kB / 0.5215 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008018/0.008033, allocations: 10.31 MB / 0.5316 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006501/0.01453, allocations: 6.826 MB / 0.5383 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.01495, allocations: 80.75 kB / 0.5384 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007043/0.01566, allocations: 385 kB / 0.5387 GB, free: 304 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.01761, allocations: 1.714 MB / 0.5404 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.01832, allocations: 0.6559 MB / 0.541 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00214/0.02046, allocations: 2.848 MB / 0.5438 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009557/0.02141, allocations: 1.196 MB / 0.545 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.02294, allocations: 2.104 MB / 0.547 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008532/0.02379, allocations: 0.9933 MB / 0.548 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.02394, allocations: 161.1 kB / 0.5482 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.02431, allocations: 307.6 kB / 0.5485 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003824/0.02469, allocations: 0.6464 MB / 0.5491 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0007627/0.02546, allocations: 0.6366 MB / 0.5497 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.02658, allocations: 1.538 MB / 0.5512 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.02658, allocations: 0 / 0.5512 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.42e-07/0.02658, allocations: 4 kB / 0.5512 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.0266, allocations: 1.156 kB / 0.5512 GB, free: 3.473 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002018/0.02861, allocations: 2.184 MB / 0.5533 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.02865, allocations: 12.03 kB / 0.5534 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/0.0322, allocations: 0.9172 MB / 0.5543 GB, free: 336 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.03337, allocations: 1.164 MB / 0.5554 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.03341, allocations: 82.69 kB / 0.5555 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.03358, allocations: 120.4 kB / 0.5556 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.03554, allocations: 1.693 MB / 0.5572 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.03557, allocations: 15.86 kB / 0.5573 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.03567, allocations: 50.3 kB / 0.5573 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003072/0.03598, allocations: 150.2 kB / 0.5574 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008369/0.03682, allocations: 0.6829 MB / 0.5581 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005911/0.04273, allocations: 7.824 MB / 0.5657 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.04373, allocations: 0.6016 MB / 0.5663 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.04408, allocations: 303.4 kB / 0.5666 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.04414, allocations: 17 kB / 0.5666 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.04416, allocations: 47.02 kB / 0.5667 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=89): time 2.305e-06/0.04416, allocations: 0 / 0.5667 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of matching and sorting (n=153): time 0.01162/0.05578, allocations: 5.134 MB / 0.5717 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.05582, allocations: 64.72 kB / 0.5718 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008154/0.05663, allocations: 0.9921 MB / 0.5727 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.05674, allocations: 49.7 kB / 0.5728 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/0.05722, allocations: 0.8251 MB / 0.5736 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.05762, allocations: 0.55 MB / 0.5741 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004823/0.0581, allocations: 289 kB / 0.5744 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.05821, allocations: 480.7 kB / 0.5749 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.05881, allocations: 379.7 kB / 0.5752 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008174/0.05963, allocations: 0.7296 MB / 0.5759 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.06114, allocations: 1.195 MB / 0.5771 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.06115, allocations: 4 kB / 0.5771 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.005782/0.06693, allocations: 2.521 MB / 0.5796 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.06696, allocations: 8 kB / 0.5796 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.06697, allocations: 15.97 kB / 0.5796 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006158/0.07313, allocations: 1.734 MB / 0.5813 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/0.07387, allocations: 183.7 kB / 0.5815 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/0.09009, allocations: 18.76 MB / 0.5998 GB, free: 15.97 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.09115, allocations: 63.92 kB / 0.5998 GB, free: 15.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.09129, allocations: 63.94 kB / 0.5999 GB, free: 15.85 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004553/0.09174, allocations: 236.4 kB / 0.6001 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.09209, allocations: 215 kB / 0.6003 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005582/0.09767, allocations: 2.491 MB / 0.6028 GB, free: 12.86 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.09768, allocations: 12 kB / 0.6028 GB, free: 12.84 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.173e-05/0.09771, allocations: 20 kB / 0.6028 GB, free: 12.82 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.09772, allocations: 11.97 kB / 0.6028 GB, free: 12.81 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007244/0.105, allocations: 3.637 MB / 0.6064 GB, free: 9.059 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.105, allocations: 4 kB / 0.6064 GB, free: 9.055 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.1055, allocations: 120.2 kB / 0.6065 GB, free: 8.938 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005676/0.1112, allocations: 1.675 MB / 0.6081 GB, free: 7.234 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.1113, allocations: 43.97 kB / 0.6081 GB, free: 7.191 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.1247, allocations: 18.65 MB / 0.6264 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.1247, allocations: 7.969 kB / 0.6264 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/0.1288, allocations: 2.416 MB / 0.6287 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/0.1292, allocations: 354.7 kB / 0.6291 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.1294, allocations: 31.98 kB / 0.6291 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/0.1299, allocations: 51.98 kB / 0.6291 GB, free: 0.6758 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/0.1303, allocations: 168.8 kB / 0.6293 GB, free: 0.5117 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/0.1304, allocations: 39.97 kB / 0.6293 GB, free: 484 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004308/0.1308, allocations: 0.5743 MB / 0.6299 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.21e-07/0.1308, allocations: 0 / 0.6299 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00147/0.1323, allocations: 0.6719 MB / 0.6306 GB, free: 15.22 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002104/0.1325, allocations: 137.2 kB / 0.6307 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00318/0.1357, allocations: 3.233 MB / 0.6339 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1357, allocations: 4.062 kB / 0.6339 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.1377, allocations: 2.655 MB / 0.6364 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.1389, allocations: 0.5225 MB / 0.637 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.1423, allocations: 3.123 MB / 0.64 GB, free: 5.203 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.1429, allocations: 0.5043 MB / 0.6405 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006235/0.1435, allocations: 285.2 kB / 0.6408 GB, free: 4.383 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007515/0.1443, allocations: 477.8 kB / 0.6412 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of SimCode: time 7.72e-07/0.1443, allocations: 3.938 kB / 0.6412 GB, free: 3.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.2314/0.3757, allocations: 52.01 MB / 0.692 GB, free: 158.3 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.884400250390172]