Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.000741/0.000741, allocations: 96.36 kB / 19.7 MB, free: 452 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.0008128/0.0008128, allocations: 216.7 kB / 23 MB, free: 2.977 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 0.8811/0.8811, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7325/0.7325, allocations: 203.8 MB / 0.5049 GB, free: 10.42 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: translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [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.000845/0.000845, allocations: 66.42 kB / 0.7194 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4239, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0248/0.4487, allocations: 31.51 MB / 0.8498 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.4615, allocations: 10.28 MB / 0.8598 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.4642, allocations: 201.8 kB / 0.86 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005556/0.4698, allocations: 3.737 MB / 0.8637 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.4743, allocations: 1.949 MB / 0.8656 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004068/0.4784, allocations: 2.131 MB / 0.8677 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007456/0.4858, allocations: 7.332 MB / 0.8748 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006373/0.4922, allocations: 5.098 MB / 0.8798 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00482/0.497, allocations: 3.291 MB / 0.883 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004414/0.5014, allocations: 3.453 MB / 0.8864 GB, free: 392 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001442/0.5029, allocations: 0.6446 MB / 0.887 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.506, allocations: 1.658 MB / 0.8886 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002735/0.5087, allocations: 2.615 MB / 0.8912 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003063/0.5118, allocations: 2.339 MB / 0.8935 GB, free: 9.109 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.007854/0.5196, allocations: 10.17 MB / 0.9034 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5196, allocations: 8 kB / 0.9034 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.365e-06/0.5196, allocations: 0 / 0.9034 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000205/0.5198, allocations: 0 / 0.9034 GB, free: 14.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.00741/0.5272, allocations: 5.048 MB / 0.9084 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5273, allocations: 12.03 kB / 0.9084 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.5304, allocations: 0.9735 MB / 0.9093 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/0.5345, allocations: 3.003 MB / 0.9123 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.5347, allocations: 353.7 kB / 0.9126 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005925/0.5353, allocations: 456.3 kB / 0.913 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009612/0.5449, allocations: 7.976 MB / 0.9208 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-05/0.545, allocations: 23.83 kB / 0.9208 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000338/0.5453, allocations: 204 kB / 0.921 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002107/0.5455, allocations: 316.9 kB / 0.9213 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007267/0.5528, allocations: 5.702 MB / 0.9269 GB, free: 6.277 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01948/0.5723, allocations: 21.92 MB / 0.9483 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.5738, allocations: 1.559 MB / 0.9498 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009477/0.5748, allocations: 1.124 MB / 0.9509 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.5748, allocations: 13.31 kB / 0.9509 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.5748, allocations: 43.88 kB / 0.951 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=133): time 3.997e-06/0.5748, allocations: 3.938 kB / 0.951 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=136): time 0.007947/0.5828, allocations: 6.203 MB / 0.957 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.5828, allocations: 68.66 kB / 0.9571 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.584, allocations: 1.395 MB / 0.9585 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.5841, allocations: 61.62 kB / 0.9585 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.5851, allocations: 2.057 MB / 0.9605 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.5853, allocations: 0.4958 MB / 0.961 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.5857, allocations: 355.3 kB / 0.9614 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.5857, allocations: 301.1 kB / 0.9616 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008283/0.5865, allocations: 0.9135 MB / 0.9625 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.5876, allocations: 1.589 MB / 0.9641 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.5899, allocations: 2.741 MB / 0.9668 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.5899, allocations: 4 kB / 0.9668 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003516/0.5934, allocations: 3.496 MB / 0.9702 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.5935, allocations: 12 kB / 0.9702 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.5935, allocations: 28.12 kB / 0.9702 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.5948, allocations: 0.9038 MB / 0.9711 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/0.5954, allocations: 351.3 kB / 0.9714 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.6075, allocations: 21.47 MB / 0.9924 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000978/0.6085, allocations: 99.95 kB / 0.9925 GB, free: 424 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.6086, allocations: 88 kB / 0.9926 GB, free: 336 kB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.001983/0.6105, allocations: 1.608 MB / 0.9942 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.6108, allocations: 206.7 kB / 0.9944 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/0.6137, allocations: 2.963 MB / 0.9972 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6137, allocations: 15.94 kB / 0.9973 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.6137, allocations: 12 kB / 0.9973 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.6137, allocations: 7.969 kB / 0.9973 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006395/0.6201, allocations: 6.003 MB / 1.003 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.6201, allocations: 8 kB / 1.003 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.6205, allocations: 175.7 kB / 1.003 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.6217, allocations: 0.8298 MB / 1.004 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.6218, allocations: 24 kB / 1.004 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/0.6329, allocations: 20.34 MB / 1.024 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6329, allocations: 7.938 kB / 1.024 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/0.636, allocations: 3.002 MB / 1.027 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/0.6366, allocations: 378.6 kB / 1.027 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.6367, allocations: 28 kB / 1.027 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.6371, allocations: 67.91 kB / 1.027 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/0.6373, allocations: 128.7 kB / 1.028 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.6374, allocations: 36 kB / 1.028 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0008088/0.6382, allocations: 0.8942 MB / 1.028 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6382, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001941/0.6401, allocations: 0.793 MB / 1.029 GB, free: 9.258 MB / 0.8073 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001741/0.6403, allocations: 143 kB / 1.029 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003335/0.6437, allocations: 3.917 MB / 1.033 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6437, allocations: 0 / 1.033 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.6458, allocations: 2.667 MB / 1.036 GB, free: 2.219 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.6474, allocations: 0.7187 MB / 1.036 GB, free: 1.547 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/0.6565, allocations: 7.974 MB / 1.044 GB, free: 9.477 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/0.6587, allocations: 2.627 MB / 1.047 GB, free: 6.82 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.659, allocations: 123.4 kB / 1.047 GB, free: 6.699 MB / 0.823 GB Notification: Performance of SimCode: time 1.002e-06/0.659, allocations: 0 / 1.047 GB, free: 6.699 MB / 0.823 GB Notification: Performance of Templates: time 0.4614/1.12, allocations: 323 MB / 1.362 GB, free: 98.21 MB / 0.9167 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.201372771989554] Failed to read output from testmodel.py, exit status != 0: 1.1262738187797368 1.131828445 0.61071654 Calling exit ...