Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009756/0.0009756, 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.00101/0.00101, allocations: 211.2 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.9151/0.9151, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.7598/0.7598, allocations: 203.5 MB / 0.5046 GB, free: 10.68 MB / 410.7 MB " [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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.001521/0.001521, allocations: 68.67 kB / 0.719 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4069, allocations: 102 MB / 0.8186 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02363/0.4305, allocations: 31.52 MB / 0.8494 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.442, allocations: 10.28 MB / 0.8594 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.4435, allocations: 198.2 kB / 0.8596 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004001/0.4475, allocations: 3.725 MB / 0.8633 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.4504, allocations: 1.951 MB / 0.8652 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.4534, allocations: 2.142 MB / 0.8673 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00524/0.4587, allocations: 7.324 MB / 0.8744 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004576/0.4633, allocations: 5.102 MB / 0.8794 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/0.4664, allocations: 3.295 MB / 0.8826 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/0.469, allocations: 3.449 MB / 0.886 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004787/0.4694, allocations: 0.6445 MB / 0.8866 GB, free: 108 kB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.4713, allocations: 1.65 MB / 0.8882 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.4727, allocations: 2.611 MB / 0.8908 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.4743, allocations: 2.339 MB / 0.8931 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005657/0.4799, allocations: 10.19 MB / 0.903 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4799, allocations: 0 / 0.903 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4799, allocations: 3.938 kB / 0.903 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.827e-05/0.48, allocations: 0 / 0.903 GB, free: 15.26 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.004825/0.4848, allocations: 5.04 MB / 0.9079 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.4849, allocations: 12.03 kB / 0.908 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/0.4876, allocations: 0.9813 MB / 0.9089 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.4908, allocations: 3.003 MB / 0.9118 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.4909, allocations: 345.7 kB / 0.9122 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/0.4914, allocations: 464.3 kB / 0.9126 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007055/0.4984, allocations: 7.98 MB / 0.9204 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.592e-05/0.4985, allocations: 23.77 kB / 0.9204 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003011/0.4988, allocations: 200 kB / 0.9206 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002013/0.499, allocations: 316.9 kB / 0.9209 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005412/0.5044, allocations: 5.702 MB / 0.9265 GB, free: 6.645 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/0.5194, allocations: 21.91 MB / 0.9479 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.5209, allocations: 1.55 MB / 0.9494 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009636/0.5219, allocations: 1.128 MB / 0.9505 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/0.5219, allocations: 13.31 kB / 0.9505 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.522, allocations: 47.86 kB / 0.9506 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=133): time 2.995e-06/0.522, allocations: 0 / 0.9506 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=136): time 0.007066/0.529, allocations: 6.203 MB / 0.9566 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.5291, allocations: 68.66 kB / 0.9567 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.5301, allocations: 1.407 MB / 0.9581 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.5302, allocations: 49.7 kB / 0.9581 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008297/0.531, allocations: 2.061 MB / 0.9601 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.5313, allocations: 0.4958 MB / 0.9606 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.5316, allocations: 351.3 kB / 0.9609 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.451e-05/0.5317, allocations: 305.1 kB / 0.9612 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009572/0.5327, allocations: 0.9174 MB / 0.9621 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.5338, allocations: 1.589 MB / 0.9637 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.5361, allocations: 2.737 MB / 0.9664 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.5361, allocations: 4 kB / 0.9664 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003409/0.5395, allocations: 3.497 MB / 0.9698 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5395, allocations: 16.03 kB / 0.9698 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.5395, allocations: 24 kB / 0.9698 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.5409, allocations: 0.9038 MB / 0.9707 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.5414, allocations: 355.3 kB / 0.971 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.5536, allocations: 21.46 MB / 0.992 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008112/0.5544, allocations: 103.9 kB / 0.9921 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.6e-05/0.5545, allocations: 88 kB / 0.9922 GB, free: 0.707 MB / 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.002129/0.5566, allocations: 1.606 MB / 0.9937 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.5568, allocations: 210.7 kB / 0.9939 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/0.5597, allocations: 2.963 MB / 0.9968 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.5597, allocations: 19.94 kB / 0.9969 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.5597, allocations: 8 kB / 0.9969 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.5597, allocations: 7.969 kB / 0.9969 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0064/0.5661, allocations: 5.995 MB / 1.003 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5661, allocations: 4 kB / 1.003 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.5665, allocations: 183.7 kB / 1.003 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/0.5677, allocations: 0.8222 MB / 1.004 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.5678, allocations: 28 kB / 1.004 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/0.5791, allocations: 20.33 MB / 1.024 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5791, allocations: 4 kB / 1.024 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.582, allocations: 3.002 MB / 1.027 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.5825, allocations: 374.6 kB / 1.027 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.5826, allocations: 28 kB / 1.027 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.583, allocations: 71.91 kB / 1.027 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.5832, allocations: 128.7 kB / 1.027 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.5833, allocations: 43.92 kB / 1.027 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001249/0.5845, allocations: 0.8981 MB / 1.028 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.5845, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001741/0.5863, allocations: 0.7891 MB / 1.029 GB, free: 9.629 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.0001618/0.5864, allocations: 136.6 kB / 1.029 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003246/0.5897, allocations: 3.925 MB / 1.033 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5897, allocations: 0 / 1.033 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/0.5918, allocations: 2.663 MB / 1.035 GB, free: 2.594 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.5933, allocations: 0.7152 MB / 1.036 GB, free: 1.926 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008207/0.6015, allocations: 7.977 MB / 1.044 GB, free: 9.852 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/0.6038, allocations: 2.635 MB / 1.046 GB, free: 7.188 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.604, allocations: 119.4 kB / 1.047 GB, free: 7.07 MB / 0.823 GB Notification: Performance of SimCode: time 1.092e-06/0.604, allocations: 0 / 1.047 GB, free: 7.07 MB / 0.823 GB Notification: Performance of Templates: time 0.4249/1.029, allocations: 323 MB / 1.362 GB, free: 98.79 MB / 0.9167 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.205700427293777] Failed to read output from testmodel.py, exit status != 0: 1.0353535618633032 1.039279596 0.557986749 Calling exit ...