Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001404/0.001404, allocations: 78.48 kB / 19.18 MB, free: 2.531 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.00157/0.00157, allocations: 169.3 kB / 22.46 MB, free: 5.359 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.196/1.196, allocations: 154.5 MB / 413.7 MB, free: 5.293 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.6185 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.154e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04161/0.04164, allocations: 32.96 MB / 0.6507 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01821/0.05985, allocations: 9.881 MB / 0.6604 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003229/0.06308, allocations: 190.6 kB / 0.6606 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01075/0.07383, allocations: 3.832 MB / 0.6643 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006572/0.0804, allocations: 2.217 MB / 0.6665 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005615/0.08601, allocations: 1.975 MB / 0.6684 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.09748, allocations: 8.137 MB / 0.6763 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008922/0.1064, allocations: 5.253 MB / 0.6815 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01132/0.1177, allocations: 4.888 MB / 0.6863 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006574/0.1243, allocations: 3.46 MB / 0.6896 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.1259, allocations: 0.6797 MB / 0.6903 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/0.1295, allocations: 1.373 MB / 0.6916 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003805/0.1333, allocations: 2.806 MB / 0.6944 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004185/0.1375, allocations: 2.167 MB / 0.6965 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.3393/0.4768, allocations: 10.58 MB / 0.7068 GB, free: 36.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.4769, allocations: 0.8125 kB / 0.7068 GB, free: 36.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4769, allocations: 0.625 kB / 0.7068 GB, free: 36.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003783/0.4772, allocations: 0 / 0.7068 GB, free: 36.39 MB / 0.6075 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.01755/0.4948, allocations: 5.409 MB / 0.7121 GB, free: 34.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4948, allocations: 10.84 kB / 0.7121 GB, free: 34.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005506/0.5003, allocations: 1.007 MB / 0.7131 GB, free: 34.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006894/0.5072, allocations: 3.132 MB / 0.7162 GB, free: 33.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.5075, allocations: 358.5 kB / 0.7165 GB, free: 33.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.5088, allocations: 463.2 kB / 0.7169 GB, free: 33.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.528, allocations: 8.663 MB / 0.7254 GB, free: 31.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/0.5281, allocations: 22.08 kB / 0.7254 GB, free: 31.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007683/0.5289, allocations: 213 kB / 0.7256 GB, free: 31.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005965/0.5295, allocations: 371.7 kB / 0.726 GB, free: 31.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/0.5474, allocations: 5.934 MB / 0.7318 GB, free: 31.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04788/0.5953, allocations: 22.9 MB / 0.7541 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.5983, allocations: 1.992 MB / 0.7561 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.6001, allocations: 1.333 MB / 0.7574 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.6002, allocations: 19.91 kB / 0.7574 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.6002, allocations: 57.81 kB / 0.7575 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=157): time 3.867e-06/0.6002, allocations: 0 / 0.7575 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=160): time 0.01415/0.6144, allocations: 6.643 MB / 0.7639 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.6144, allocations: 67.5 kB / 0.764 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.6173, allocations: 1.709 MB / 0.7657 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.6175, allocations: 51.2 kB / 0.7657 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.6188, allocations: 2.191 MB / 0.7679 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006233/0.6194, allocations: 0.5775 MB / 0.7684 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008551/0.6202, allocations: 404.7 kB / 0.7688 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.6203, allocations: 301.1 kB / 0.7691 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.6219, allocations: 1.062 MB / 0.7701 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.624, allocations: 1.763 MB / 0.7719 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.6272, allocations: 3.05 MB / 0.7748 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/0.6272, allocations: 3.812 kB / 0.7748 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006292/0.6335, allocations: 3.889 MB / 0.7786 GB, free: 228 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.6336, allocations: 13.25 kB / 0.7787 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.6336, allocations: 26 kB / 0.7787 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/0.6362, allocations: 0.936 MB / 0.7796 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.6378, allocations: 433.4 kB / 0.78 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02302/0.6608, allocations: 21.1 MB / 0.8006 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/0.6636, allocations: 119.9 kB / 0.8007 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000374/0.664, allocations: 96 kB / 0.8008 GB, free: 10.89 MB / 0.6387 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.004532/0.6685, allocations: 1.648 MB / 0.8024 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006677/0.6692, allocations: 246.5 kB / 0.8027 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00616/0.6754, allocations: 3.228 MB / 0.8058 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.6754, allocations: 16 kB / 0.8058 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/0.6754, allocations: 8 kB / 0.8058 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.6754, allocations: 7.969 kB / 0.8058 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.6889, allocations: 6.449 MB / 0.8121 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.6889, allocations: 4 kB / 0.8121 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.69, allocations: 218 kB / 0.8123 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002685/0.6927, allocations: 0.9042 MB / 0.8132 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/0.6929, allocations: 31.94 kB / 0.8133 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02407/0.717, allocations: 21.06 MB / 0.8338 GB, free: 7.93 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.717, allocations: 7.562 kB / 0.8338 GB, free: 7.926 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006814/0.7238, allocations: 3.335 MB / 0.8371 GB, free: 4.516 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/0.7255, allocations: 462.8 kB / 0.8375 GB, free: 4.062 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003642/0.7258, allocations: 32 kB / 0.8376 GB, free: 4.031 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.727, allocations: 87.89 kB / 0.8376 GB, free: 3.945 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004879/0.7275, allocations: 148 kB / 0.8378 GB, free: 3.805 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.7276, allocations: 48 kB / 0.8378 GB, free: 3.758 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001741/0.7293, allocations: 1.09 MB / 0.8389 GB, free: 2.648 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.7293, allocations: 0 / 0.8389 GB, free: 2.648 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003721/0.733, allocations: 0.9023 MB / 0.8398 GB, free: 1.746 MB / 0.67 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.0003376/0.7334, allocations: 162.4 kB / 0.8399 GB, free: 1.59 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007796/0.7412, allocations: 4.285 MB / 0.8441 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.7412, allocations: 4 kB / 0.8441 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004822/0.746, allocations: 2.9 MB / 0.847 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/0.7502, allocations: 0.7556 MB / 0.8477 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/0.7674, allocations: 7.794 MB / 0.8553 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/0.7712, allocations: 2.661 MB / 0.8579 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002194/0.7734, allocations: 0.5161 MB / 0.8584 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/0.7738, allocations: 132.5 kB / 0.8585 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of SimCode: time 1.223e-06/0.7738, allocations: 0 / 0.8585 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of Templates: time 0.08548/0.8593, allocations: 42.14 MB / 0.8997 GB, free: 5.273 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.780882727354765] Failed to read output from testmodel.py, exit status != 0: 0.8705443665385246 0.888074591 0.40723387599999994 Calling exit ...