Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.000715/0.000715, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007134/0.0007134, allocations: 211.8 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.8315/0.8315, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7323/0.7323, allocations: 203.8 MB / 0.5049 GB, free: 10.44 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [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.0008822/0.0008822, allocations: 61.72 kB / 0.7194 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3931, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01074/0.4039, allocations: 13.29 MB / 0.832 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008602/0.4125, allocations: 9.157 MB / 0.8409 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004815/0.413, allocations: 78.84 kB / 0.841 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.4151, allocations: 1.659 MB / 0.8426 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.4171, allocations: 1.585 MB / 0.8442 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009377/0.4181, allocations: 0.7591 MB / 0.8449 GB, free: 320 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.4197, allocations: 2.542 MB / 0.8474 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009826/0.4207, allocations: 1.177 MB / 0.8485 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008161/0.4215, allocations: 1.124 MB / 0.8496 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008274/0.4224, allocations: 1.104 MB / 0.8507 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.4225, allocations: 165 kB / 0.8509 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007346/0.4232, allocations: 0.7319 MB / 0.8516 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.4236, allocations: 0.6205 MB / 0.8522 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005437/0.4242, allocations: 0.7747 MB / 0.853 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.4261, allocations: 2.785 MB / 0.8557 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4261, allocations: 0 / 0.8557 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4261, allocations: 0 / 0.8557 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.4261, allocations: 1.219 kB / 0.8557 GB, free: 9.57 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002248/0.4284, allocations: 2.113 MB / 0.8577 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.4284, allocations: 8.812 kB / 0.8578 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005769/0.4342, allocations: 2.094 MB / 0.8598 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.4357, allocations: 1.217 MB / 0.861 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.4357, allocations: 88.98 kB / 0.8611 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.4359, allocations: 125.2 kB / 0.8612 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003546/0.4394, allocations: 3.081 MB / 0.8642 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.4395, allocations: 11.25 kB / 0.8642 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.4396, allocations: 54.08 kB / 0.8643 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003248/0.4399, allocations: 182.6 kB / 0.8644 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004136/0.4441, allocations: 2.795 MB / 0.8672 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007548/0.4516, allocations: 8.126 MB / 0.8751 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.455, allocations: 2.224 MB / 0.8773 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.4566, allocations: 1.206 MB / 0.8784 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.4566, allocations: 9 kB / 0.8785 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.4566, allocations: 47.56 kB / 0.8785 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 2.184e-06/0.4566, allocations: 0 / 0.8785 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.02248/0.4791, allocations: 12.65 MB / 0.8909 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.4792, allocations: 68.66 kB / 0.8909 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007553/0.4799, allocations: 0.9757 MB / 0.8919 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.812e-05/0.48, allocations: 57.7 kB / 0.8919 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.4803, allocations: 0.7316 MB / 0.8926 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.4806, allocations: 475.8 kB / 0.8931 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/0.4809, allocations: 259.5 kB / 0.8933 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.481, allocations: 361.9 kB / 0.8937 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.4828, allocations: 1.343 MB / 0.895 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.4848, allocations: 1.6 MB / 0.8966 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003628/0.4885, allocations: 2.998 MB / 0.8995 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4885, allocations: 0 / 0.8995 GB, free: 2.258 MB / 0.6667 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006128/0.4946, allocations: 4.381 MB / 0.9038 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.4946, allocations: 11.94 kB / 0.9038 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4946, allocations: 8 kB / 0.9038 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/0.4972, allocations: 1.426 MB / 0.9052 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.4983, allocations: 439.2 kB / 0.9056 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/0.5136, allocations: 24.81 MB / 0.9298 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.5152, allocations: 303.5 kB / 0.9301 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/0.5152, allocations: 63.97 kB / 0.9302 GB, free: 1.426 MB / 0.698 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006074/0.5159, allocations: 449.3 kB / 0.9306 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.516, allocations: 151.1 kB / 0.9308 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005968/0.522, allocations: 4.401 MB / 0.9351 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.522, allocations: 15.98 kB / 0.9351 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.522, allocations: 12 kB / 0.9351 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.522, allocations: 3.984 kB / 0.9351 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007927/0.5299, allocations: 6.136 MB / 0.9411 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.5299, allocations: 4 kB / 0.9411 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.5308, allocations: 375.4 kB / 0.9414 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002253/0.533, allocations: 1.318 MB / 0.9427 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-05/0.5331, allocations: 36.16 kB / 0.9428 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/0.5475, allocations: 23.68 MB / 0.9659 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5475, allocations: 4 kB / 0.9659 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005565/0.5531, allocations: 4.151 MB / 0.9699 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/0.5536, allocations: 374.8 kB / 0.9703 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.5537, allocations: 24 kB / 0.9703 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009909/0.5547, allocations: 307.4 kB / 0.9706 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/0.555, allocations: 128.7 kB / 0.9707 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.23e-05/0.555, allocations: 55.95 kB / 0.9708 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005626/0.5556, allocations: 0.6506 MB / 0.9714 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.5556, allocations: 0 / 0.9714 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001596/0.5572, allocations: 0.5625 MB / 0.972 GB, free: 4.98 MB / 0.7448 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001987/0.5574, allocations: 143.1 kB / 0.9721 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005578/0.563, allocations: 4.97 MB / 0.977 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.563, allocations: 4.125 kB / 0.977 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00352/0.5665, allocations: 3.413 MB / 0.9803 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.5677, allocations: 0.508 MB / 0.9808 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004778/0.5724, allocations: 4.162 MB / 0.9849 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/0.5731, allocations: 0.8828 MB / 0.9857 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.5734, allocations: 131.3 kB / 0.9858 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of SimCode: time 6.51e-07/0.5734, allocations: 0 / 0.9858 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of Templates: time 0.06187/0.6353, allocations: 112.5 MB / 1.096 GB, free: 5.895 MB / 0.8698 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.201335782650858] Failed to read output from testmodel.py, exit status != 0: 0.6401196280494332 0.647670102 0.22006655900000002 Calling exit ...