Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001953/0.001953, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.002519/0.002519, allocations: 216.1 kB / 22.24 MB, free: 5.242 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.785 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.321/1.321, allocations: 203.5 MB / 0.5038 GB, free: 4.855 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.002191/0.002191, allocations: 75.88 kB / 0.7183 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6021/0.6043, allocations: 102 MB / 0.8179 GB, free: 29.14 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03883/0.6431, allocations: 33.67 MB / 0.8507 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.6627, allocations: 10.02 MB / 0.8605 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00488/0.6676, allocations: 192.2 kB / 0.8607 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.6788, allocations: 3.831 MB / 0.8645 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007791/0.6866, allocations: 2.141 MB / 0.8665 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006988/0.6936, allocations: 1.959 MB / 0.8685 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01244/0.706, allocations: 7.976 MB / 0.8762 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01214/0.7182, allocations: 5.228 MB / 0.8813 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009154/0.7273, allocations: 3.499 MB / 0.8848 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008814/0.7361, allocations: 3.693 MB / 0.8884 GB, free: 14.43 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002051/0.7382, allocations: 0.6835 MB / 0.889 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004455/0.7426, allocations: 1.358 MB / 0.8904 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003755/0.7464, allocations: 2.685 MB / 0.893 GB, free: 9.695 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005674/0.7521, allocations: 2.525 MB / 0.8955 GB, free: 7.16 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01528/0.7674, allocations: 10.45 MB / 0.9057 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.7674, allocations: 8 kB / 0.9057 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7674, allocations: 0 / 0.9057 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000399/0.7678, allocations: 0 / 0.9057 GB, free: 12.67 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01591/0.7837, allocations: 5.467 MB / 0.911 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.7837, allocations: 8.031 kB / 0.911 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005607/0.7893, allocations: 0.9812 MB / 0.912 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008127/0.7975, allocations: 3.136 MB / 0.915 GB, free: 2.949 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/0.7978, allocations: 353.9 kB / 0.9154 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/0.7993, allocations: 472.3 kB / 0.9158 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02047/0.8197, allocations: 8.663 MB / 0.9243 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001708/0.8199, allocations: 27.77 kB / 0.9243 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008137/0.8207, allocations: 208 kB / 0.9245 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006097/0.8213, allocations: 369.1 kB / 0.9249 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/0.8357, allocations: 5.926 MB / 0.9306 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04249/0.8782, allocations: 22.94 MB / 0.9531 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/0.8822, allocations: 1.992 MB / 0.955 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.8844, allocations: 1.329 MB / 0.9563 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.881e-05/0.8845, allocations: 17.31 kB / 0.9563 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.48e-05/0.8846, allocations: 59.81 kB / 0.9564 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 4.478e-06/0.8846, allocations: 0 / 0.9564 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01578/0.9004, allocations: 6.651 MB / 0.9629 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.9005, allocations: 64.72 kB / 0.9629 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/0.9032, allocations: 1.701 MB / 0.9646 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.9033, allocations: 53.7 kB / 0.9646 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001922/0.9053, allocations: 2.202 MB / 0.9668 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007315/0.906, allocations: 0.581 MB / 0.9674 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007238/0.9067, allocations: 404 kB / 0.9677 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.9069, allocations: 309.1 kB / 0.968 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.9088, allocations: 1.058 MB / 0.9691 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/0.9114, allocations: 1.764 MB / 0.9708 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004565/0.9159, allocations: 3.052 MB / 0.9738 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.916, allocations: 4 kB / 0.9738 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007768/0.9237, allocations: 3.891 MB / 0.9776 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.9238, allocations: 12 kB / 0.9776 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/0.9238, allocations: 27.94 kB / 0.9776 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002891/0.9267, allocations: 0.9274 MB / 0.9785 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.9285, allocations: 427.2 kB / 0.9789 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0261/0.9546, allocations: 21.12 MB / 0.9996 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.9571, allocations: 123.9 kB / 0.9997 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/0.9574, allocations: 92 kB / 0.9998 GB, free: 8.852 MB / 0.7794 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.003542/0.9609, allocations: 1.648 MB / 1.001 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/0.9615, allocations: 250.5 kB / 1.002 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006283/0.9678, allocations: 3.225 MB / 1.005 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.9678, allocations: 16 kB / 1.005 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.39e-05/0.9679, allocations: 15.98 kB / 1.005 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.9679, allocations: 7.969 kB / 1.005 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/0.9814, allocations: 6.449 MB / 1.011 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.9814, allocations: 4 kB / 1.011 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.9824, allocations: 211.7 kB / 1.011 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/0.9852, allocations: 0.8887 MB / 1.012 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.9853, allocations: 35.98 kB / 1.012 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02475/1.01, allocations: 21.08 MB / 1.033 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.01, allocations: 8 kB / 1.033 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006948/1.017, allocations: 3.348 MB / 1.036 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/1.019, allocations: 466.2 kB / 1.037 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/1.019, allocations: 35.98 kB / 1.037 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.02, allocations: 87.89 kB / 1.037 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005029/1.021, allocations: 144.9 kB / 1.037 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.021, allocations: 48 kB / 1.037 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001953/1.023, allocations: 1.09 MB / 1.038 GB, free: 220 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/1.023, allocations: 0 / 1.038 GB, free: 220 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003715/1.026, allocations: 0.9024 MB / 1.039 GB, free: 15.31 MB / 0.8262 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000354/1.027, allocations: 151.8 kB / 1.039 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007761/1.035, allocations: 4.295 MB / 1.043 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.257e-05/1.035, allocations: 0 / 1.043 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005083/1.04, allocations: 2.918 MB / 1.046 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/1.043, allocations: 0.7695 MB / 1.047 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/1.059, allocations: 7.811 MB / 1.054 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004157/1.063, allocations: 2.668 MB / 1.057 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001957/1.065, allocations: 0.5044 MB / 1.057 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/1.066, allocations: 131.4 kB / 1.058 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of SimCode: time 1.613e-06/1.066, allocations: 0 / 1.058 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.08748/1.153, allocations: 47.76 MB / 1.104 GB, free: 12.78 MB / 0.8887 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.24075267277658] Failed to read output from testmodel.py, exit status != 0: 1.1632021479308605 1.63169624 0.40689324600000004 Calling exit ...