Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001046/0.001046, allocations: 92.22 kB / 19.65 MB, free: 276 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.001027/0.001027, allocations: 173 kB / 23.02 MB, free: 1.547 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.9894/0.9894, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.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-535:34: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-535:42: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.8628/0.8628, allocations: 154.9 MB / 414.8 MB, free: 400 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.449e-06/4.449e-06, allocations: 4 kB / 0.5207 GB, free: 1.789 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.504e-05, allocations: 4.828 kB / 0.5207 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01702/0.01705, allocations: 18.81 MB / 0.5391 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.02946, allocations: 9.495 MB / 0.5483 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002847/0.03231, allocations: 190.5 kB / 0.5485 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.03455, allocations: 0.787 MB / 0.5493 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005807/0.04035, allocations: 2.588 MB / 0.5518 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.0435, allocations: 1.583 MB / 0.5534 GB, free: 324 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008436/0.05194, allocations: 7.707 MB / 0.5609 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006261/0.0582, allocations: 4.581 MB / 0.5654 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00655/0.06475, allocations: 4.911 MB / 0.5702 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0045/0.06925, allocations: 3.287 MB / 0.5734 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.0707, allocations: 0.5898 MB / 0.574 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.07254, allocations: 0.6801 MB / 0.5746 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.002421/0.07496, allocations: 2.545 MB / 0.5771 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.003525/0.07848, allocations: 2.006 MB / 0.5791 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005945/0.08443, allocations: 4.846 MB / 0.5838 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.08443, allocations: 0 / 0.5838 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.603e-06/0.08444, allocations: 0 / 0.5838 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002834/0.08472, allocations: 0 / 0.5838 GB, free: 0.9883 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.007904/0.09262, allocations: 5.278 MB / 0.5889 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.09266, allocations: 14.25 kB / 0.589 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.09597, allocations: 1.496 MB / 0.5904 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004214/0.1002, allocations: 2.915 MB / 0.5933 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.1004, allocations: 316.8 kB / 0.5936 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005495/0.1009, allocations: 433 kB / 0.594 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006059/0.107, allocations: 4.552 MB / 0.5984 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-05/0.1071, allocations: 30 kB / 0.5985 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.1074, allocations: 184 kB / 0.5986 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005002/0.1079, allocations: 372 kB / 0.599 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003247/0.1111, allocations: 1.631 MB / 0.6006 GB, free: 15.15 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/0.129, allocations: 21.18 MB / 0.6213 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/0.1299, allocations: 0.5786 MB / 0.6218 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.1306, allocations: 0.54 MB / 0.6224 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-05/0.1306, allocations: 21.31 kB / 0.6224 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.1307, allocations: 54.64 kB / 0.6224 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=130): time 3.697e-06/0.1307, allocations: 0 / 0.6224 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=199): time 0.01183/0.1425, allocations: 6.608 MB / 0.6289 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1426, allocations: 69.41 kB / 0.6289 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.1441, allocations: 1.703 MB / 0.6306 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.1442, allocations: 61.7 kB / 0.6307 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.1452, allocations: 2.121 MB / 0.6327 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004569/0.1457, allocations: 0.7243 MB / 0.6334 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004547/0.1461, allocations: 414.4 kB / 0.6338 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1462, allocations: 484.7 kB / 0.6343 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007961/0.147, allocations: 0.5042 MB / 0.6348 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.1482, allocations: 1.339 MB / 0.6361 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/0.1503, allocations: 2.022 MB / 0.6381 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.1503, allocations: 4 kB / 0.6381 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00523/0.1555, allocations: 3.311 MB / 0.6413 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.1556, allocations: 12 kB / 0.6413 GB, free: 3.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.1556, allocations: 19.94 kB / 0.6413 GB, free: 3.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004353/0.1599, allocations: 1.723 MB / 0.643 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008723/0.1608, allocations: 383.3 kB / 0.6434 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2746/0.4354, allocations: 35.83 MB / 0.6784 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.4371, allocations: 130.6 kB / 0.6785 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.4373, allocations: 90.16 kB / 0.6786 GB, free: 144.9 MB / 0.6355 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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 prepare postOptimizeDAE: time 0.001077/0.4383, allocations: 302.2 kB / 0.6789 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/0.4388, allocations: 334.8 kB / 0.6792 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00418/0.4429, allocations: 2.894 MB / 0.682 GB, free: 144.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.443, allocations: 21.06 kB / 0.682 GB, free: 144.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-05/0.443, allocations: 20.41 kB / 0.6821 GB, free: 144.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.443, allocations: 9.938 kB / 0.6821 GB, free: 144.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008532/0.4515, allocations: 6.292 MB / 0.6882 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.4516, allocations: 8.266 kB / 0.6882 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.452, allocations: 214.3 kB / 0.6884 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003685/0.4557, allocations: 1.634 MB / 0.69 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.4558, allocations: 35.75 kB / 0.6901 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/0.4728, allocations: 35.76 MB / 0.725 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.4729, allocations: 9.188 kB / 0.725 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/0.4777, allocations: 3.012 MB / 0.7279 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.4788, allocations: 0.5042 MB / 0.7284 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.479, allocations: 46.94 kB / 0.7285 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.4797, allocations: 125.4 kB / 0.7286 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006208/0.4803, allocations: 207.3 kB / 0.7288 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.873e-05/0.4804, allocations: 55.23 kB / 0.7288 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001006/0.4814, allocations: 0.9841 MB / 0.7298 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4814, allocations: 0 / 0.7298 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002826/0.4842, allocations: 1.047 MB / 0.7308 GB, free: 111.1 MB / 0.6355 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003008/0.4845, allocations: 162.3 kB / 0.731 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005465/0.49, allocations: 5.414 MB / 0.7363 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.49, allocations: 2.125 kB / 0.7363 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0043/0.4943, allocations: 4.573 MB / 0.7407 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/0.4979, allocations: 0.9076 MB / 0.7416 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.5114, allocations: 7.27 MB / 0.7487 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.5129, allocations: 1.171 MB / 0.7499 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001696/0.5146, allocations: 448.3 kB / 0.7503 GB, free: 101 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.5149, allocations: 140 kB / 0.7504 GB, free: 101 MB / 0.6355 GB Notification: Performance of SimCode: time 2.054e-06/0.5149, allocations: 0 / 0.7504 GB, free: 101 MB / 0.6355 GB Notification: Performance of Templates: time 0.07282/0.5877, allocations: 63.68 MB / 0.8126 GB, free: 58.17 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.43425529403612]