Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001452/0.001452, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001667/0.001667, allocations: 213.3 kB / 22.25 MB, free: 5.262 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.805 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.295/1.295, allocations: 203.5 MB / 0.5038 GB, free: 4.922 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [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.002163/0.002163, allocations: 67.91 kB / 0.7183 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7032/0.7054, allocations: 102 MB / 0.8179 GB, free: 29.12 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01845/0.7238, allocations: 13.93 MB / 0.8315 GB, free: 20.33 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01735/0.7412, allocations: 9.974 MB / 0.8412 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/0.7436, allocations: 80.75 kB / 0.8413 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00523/0.7489, allocations: 1.69 MB / 0.8429 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007895/0.7568, allocations: 1.849 MB / 0.8447 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.7597, allocations: 0.7532 MB / 0.8455 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005549/0.7652, allocations: 2.774 MB / 0.8482 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002875/0.7681, allocations: 1.181 MB / 0.8493 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.7721, allocations: 1.633 MB / 0.8509 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/0.7752, allocations: 1.084 MB / 0.852 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009747/0.7762, allocations: 164.4 kB / 0.8521 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.7795, allocations: 0.7288 MB / 0.8528 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.781, allocations: 0.617 MB / 0.8535 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002892/0.7839, allocations: 0.7797 MB / 0.8542 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006482/0.7904, allocations: 2.782 MB / 0.8569 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.7904, allocations: 0 / 0.8569 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7904, allocations: 5.281 kB / 0.8569 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001227/0.7905, allocations: 0 / 0.8569 GB, free: 6.203 MB / 0.6387 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.005489/0.796, allocations: 2.152 MB / 0.859 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.796, allocations: 9.594 kB / 0.859 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.8076, allocations: 2.121 MB / 0.8611 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003351/0.811, allocations: 1.227 MB / 0.8623 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.251e-05/0.811, allocations: 93.38 kB / 0.8624 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/0.8114, allocations: 122.3 kB / 0.8625 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006431/0.8178, allocations: 3.067 MB / 0.8655 GB, free: 488 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/0.8178, allocations: 15.11 kB / 0.8655 GB, free: 476 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.818, allocations: 59.22 kB / 0.8656 GB, free: 432 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006395/0.8186, allocations: 194.5 kB / 0.8658 GB, free: 360 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008164/0.8268, allocations: 2.785 MB / 0.8685 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/0.8442, allocations: 8.13 MB / 0.8764 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006742/0.851, allocations: 2.173 MB / 0.8786 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003301/0.8543, allocations: 1.207 MB / 0.8797 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.496e-05/0.8543, allocations: 9 kB / 0.8797 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.8544, allocations: 43.56 kB / 0.8798 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 3.316e-06/0.8544, allocations: 0 / 0.8798 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=153): time 0.0645/0.9189, allocations: 15.99 MB / 0.8954 GB, free: 6.867 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.919, allocations: 68.72 kB / 0.8955 GB, free: 6.785 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.9208, allocations: 1.035 MB / 0.8965 GB, free: 5.742 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.9211, allocations: 49.7 kB / 0.8965 GB, free: 5.688 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006826/0.9218, allocations: 0.7558 MB / 0.8973 GB, free: 4.922 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007382/0.9225, allocations: 0.5344 MB / 0.8978 GB, free: 4.383 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000739/0.9233, allocations: 299.4 kB / 0.8981 GB, free: 4.082 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9234, allocations: 305.1 kB / 0.8984 GB, free: 3.781 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003871/0.9273, allocations: 1.514 MB / 0.8998 GB, free: 2.266 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004115/0.9314, allocations: 1.776 MB / 0.9016 GB, free: 404 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008133/0.9395, allocations: 3.369 MB / 0.9049 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.9395, allocations: 0 / 0.9049 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01502/0.9545, allocations: 5.2 MB / 0.9099 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.9546, allocations: 10.34 kB / 0.9099 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.9546, allocations: 12.09 kB / 0.91 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008048/0.9626, allocations: 1.874 MB / 0.9118 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.9648, allocations: 415.3 kB / 0.9122 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03491/0.9997, allocations: 22.85 MB / 0.9345 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/1.003, allocations: 307.5 kB / 0.9348 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004844/1.003, allocations: 67.95 kB / 0.9349 GB, free: 13.34 MB / 0.7169 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001413/1.005, allocations: 461.6 kB / 0.9353 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006839/1.005, allocations: 167 kB / 0.9355 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/1.021, allocations: 5.248 MB / 0.9406 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/1.021, allocations: 16 kB / 0.9406 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.65e-05/1.022, allocations: 19.98 kB / 0.9406 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.602e-05/1.022, allocations: 3.984 kB / 0.9406 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/1.041, allocations: 6.801 MB / 0.9473 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/1.041, allocations: 4 kB / 0.9473 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.043, allocations: 351.4 kB / 0.9476 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007192/1.05, allocations: 1.707 MB / 0.9493 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002765/1.051, allocations: 51.89 kB / 0.9493 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03286/1.083, allocations: 22.02 MB / 0.9708 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.083, allocations: 12 kB / 0.9708 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/1.098, allocations: 4.809 MB / 0.9755 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/1.099, allocations: 406.7 kB / 0.9759 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000549/1.1, allocations: 32 kB / 0.976 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.102, allocations: 319.5 kB / 0.9763 GB, free: 1.887 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005926/1.103, allocations: 164.8 kB / 0.9764 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.103, allocations: 55.95 kB / 0.9765 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001179/1.104, allocations: 0.6801 MB / 0.9771 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.01e-07/1.104, allocations: 0 / 0.9771 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00264/1.107, allocations: 0.6601 MB / 0.9778 GB, free: 332 kB / 0.7481 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003646/1.107, allocations: 140.9 kB / 0.9779 GB, free: 184 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01274/1.12, allocations: 4.913 MB / 0.9827 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.12, allocations: 0 / 0.9827 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.008821/1.129, allocations: 3.284 MB / 0.9859 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/1.133, allocations: 0.5046 MB / 0.9864 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/1.144, allocations: 4.34 MB / 0.9906 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/1.146, allocations: 0.9799 MB / 0.9916 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001776/1.148, allocations: 369.2 kB / 0.992 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/1.148, allocations: 107.3 kB / 0.9921 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of SimCode: time 1.363e-06/1.148, allocations: 0 / 0.9921 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of Templates: time 0.08831/1.237, allocations: 48.9 MB / 1.04 GB, free: 1.191 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.748262939974666] Failed to read output from testmodel.py, exit status != 0: 1.247561790049076 1.262708009 0.468945955 Calling exit ...