Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001462/0.001462, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002089/0.002089, allocations: 217.1 kB / 22.25 MB, free: 4.859 MB / 14.72 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 1.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 1.293/1.293, allocations: 203.5 MB / 0.5038 GB, free: 4.887 MB / 414.1 MB " [Timeout remaining time 178] 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Electrical.AC.ThreePhasesUnbalanced.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.002173/0.002173, allocations: 71.89 kB / 0.7183 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5963/0.5985, allocations: 102 MB / 0.8179 GB, free: 29.05 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03321/0.6317, allocations: 29.27 MB / 0.8464 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02142/0.6531, allocations: 13.19 MB / 0.8593 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004735/0.6579, allocations: 190.3 kB / 0.8595 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.6689, allocations: 3.208 MB / 0.8626 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01399/0.6829, allocations: 2.754 MB / 0.8653 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009059/0.692, allocations: 2.017 MB / 0.8673 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01321/0.7052, allocations: 7.639 MB / 0.8748 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.7165, allocations: 4.596 MB / 0.8792 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007956/0.7245, allocations: 3.532 MB / 0.8827 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0082/0.7327, allocations: 3.365 MB / 0.886 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002581/0.7352, allocations: 0.5938 MB / 0.8866 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008074/0.7433, allocations: 1.396 MB / 0.8879 GB, free: 14.86 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.006652/0.75, allocations: 2.427 MB / 0.8903 GB, free: 12.42 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.009555/0.7595, allocations: 2.338 MB / 0.8926 GB, free: 10.07 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01658/0.7761, allocations: 9.543 MB / 0.9019 GB, free: 0.5 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.7761, allocations: 0 / 0.9019 GB, free: 0.5 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7761, allocations: 4 kB / 0.9019 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003479/0.7765, allocations: 0 / 0.9019 GB, free: 0.4961 MB / 0.67 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.01523/0.7917, allocations: 5.191 MB / 0.907 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.7917, allocations: 8.031 kB / 0.907 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00696/0.7987, allocations: 1.02 MB / 0.908 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008583/0.8073, allocations: 3.025 MB / 0.9109 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.8076, allocations: 312.9 kB / 0.9112 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.809, allocations: 428 kB / 0.9116 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/0.8273, allocations: 7.523 MB / 0.919 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.8275, allocations: 19.83 kB / 0.919 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005724/0.828, allocations: 184 kB / 0.9192 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00101/0.829, allocations: 372 kB / 0.9195 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.8405, allocations: 5.106 MB / 0.9245 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03438/0.8749, allocations: 19.05 MB / 0.9431 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.8772, allocations: 1.313 MB / 0.9444 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.8791, allocations: 1.261 MB / 0.9456 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.745e-05/0.8792, allocations: 13.31 kB / 0.9456 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/0.8792, allocations: 59.8 kB / 0.9457 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 3.246e-06/0.8792, allocations: 0 / 0.9457 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199): time 0.09288/0.9721, allocations: 22.81 MB / 0.968 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.9722, allocations: 73.41 kB / 0.968 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/0.9758, allocations: 1.853 MB / 0.9699 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003285/0.9761, allocations: 57.7 kB / 0.9699 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.9782, allocations: 2.073 MB / 0.9719 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008873/0.9791, allocations: 0.7087 MB / 0.9726 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009628/0.98, allocations: 412.4 kB / 0.973 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.9802, allocations: 305.1 kB / 0.9733 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.9827, allocations: 1.43 MB / 0.9747 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002978/0.9857, allocations: 2.01 MB / 0.9767 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005573/0.9913, allocations: 3.7 MB / 0.9803 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.9913, allocations: 4 kB / 0.9803 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01274/1.004, allocations: 5.565 MB / 0.9857 GB, free: 8.773 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/1.004, allocations: 20.06 kB / 0.9857 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/1.004, allocations: 16 kB / 0.9858 GB, free: 8.738 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008055/1.012, allocations: 2.083 MB / 0.9878 GB, free: 6.598 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/1.014, allocations: 375.4 kB / 0.9882 GB, free: 6.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04825/1.062, allocations: 35.88 MB / 1.023 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/1.065, allocations: 127.9 kB / 1.023 GB, free: 392 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005103/1.065, allocations: 88 kB / 1.023 GB, free: 304 kB / 0.795 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.003451/1.069, allocations: 1.505 MB / 1.025 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009035/1.07, allocations: 278.2 kB / 1.025 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/1.082, allocations: 5.13 MB / 1.03 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/1.082, allocations: 20 kB / 1.03 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.272e-05/1.082, allocations: 16.28 kB / 1.03 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-05/1.082, allocations: 11.95 kB / 1.03 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02121/1.103, allocations: 8.45 MB / 1.038 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/1.103, allocations: 8 kB / 1.038 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.104, allocations: 219.6 kB / 1.039 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007057/1.112, allocations: 1.83 MB / 1.04 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003052/1.112, allocations: 44 kB / 1.04 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04615/1.158, allocations: 34.89 MB / 1.075 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/1.158, allocations: 11.92 kB / 1.075 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.17, allocations: 4.835 MB / 1.079 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/1.172, allocations: 0.5255 MB / 1.08 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007787/1.172, allocations: 43.98 kB / 1.08 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.174, allocations: 136 kB / 1.08 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008005/1.175, allocations: 197.5 kB / 1.08 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/1.175, allocations: 63.94 kB / 1.08 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002529/1.178, allocations: 1.207 MB / 1.081 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.178, allocations: 0 / 1.081 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004577/1.182, allocations: 1.051 MB / 1.082 GB, free: 1.488 MB / 0.8575 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.0004587/1.183, allocations: 162.9 kB / 1.083 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01205/1.195, allocations: 6.006 MB / 1.088 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/1.195, allocations: 4 kB / 1.088 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.008452/1.203, allocations: 4.285 MB / 1.093 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005699/1.209, allocations: 0.8981 MB / 1.094 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.229, allocations: 8.263 MB / 1.102 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004776/1.233, allocations: 2.576 MB / 1.104 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002029/1.235, allocations: 0.4944 MB / 1.105 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/1.236, allocations: 131.4 kB / 1.105 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of SimCode: time 1.363e-06/1.236, allocations: 0 / 1.105 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of Templates: time 0.5377/1.774, allocations: 65.82 MB / 1.169 GB, free: 225.2 MB / 0.8887 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.850934661924839] Failed to read output from testmodel.py, exit status != 0: 1.7839123606681824 1.793536674 1.014716075 Calling exit ...