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.001916/0.001916, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.002452/0.002452, allocations: 162.8 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.451/1.451, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.195/1.195, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.23e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04239/0.04243, allocations: 32.97 MB / 0.6508 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.0623, allocations: 9.874 MB / 0.6604 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004551/0.06685, allocations: 194.5 kB / 0.6606 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.07798, allocations: 3.834 MB / 0.6644 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007377/0.08535, allocations: 2.21 MB / 0.6665 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005857/0.09121, allocations: 1.979 MB / 0.6685 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01268/0.1039, allocations: 8.133 MB / 0.6764 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.1152, allocations: 5.257 MB / 0.6815 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009552/0.1248, allocations: 4.892 MB / 0.6863 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006471/0.1312, allocations: 3.456 MB / 0.6897 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001452/0.1327, allocations: 0.6797 MB / 0.6904 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.136, allocations: 1.373 MB / 0.6917 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003323/0.1393, allocations: 2.806 MB / 0.6944 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003585/0.1429, allocations: 2.16 MB / 0.6965 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.3739/0.5168, allocations: 10.58 MB / 0.7069 GB, free: 36.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.5168, allocations: 0 / 0.7069 GB, free: 36.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.033e-06/0.5168, allocations: 0.7812 kB / 0.7069 GB, free: 36.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0006226/0.5174, allocations: 0 / 0.7069 GB, free: 36.41 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.02637/0.5438, allocations: 5.404 MB / 0.7122 GB, free: 34.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5439, allocations: 7.875 kB / 0.7122 GB, free: 34.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006875/0.5507, allocations: 1.005 MB / 0.7131 GB, free: 34.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009547/0.5603, allocations: 3.137 MB / 0.7162 GB, free: 33.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005247/0.5608, allocations: 357 kB / 0.7165 GB, free: 33.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003257/0.5641, allocations: 463.8 kB / 0.717 GB, free: 33.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/0.5897, allocations: 8.662 MB / 0.7254 GB, free: 31.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000375/0.5901, allocations: 28.44 kB / 0.7255 GB, free: 31.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002765/0.5929, allocations: 213.5 kB / 0.7257 GB, free: 31.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007924/0.5937, allocations: 368.7 kB / 0.726 GB, free: 31.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01554/0.6092, allocations: 5.929 MB / 0.7318 GB, free: 31.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03827/0.6475, allocations: 22.9 MB / 0.7542 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.6506, allocations: 1.99 MB / 0.7561 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.6523, allocations: 1.342 MB / 0.7574 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.6524, allocations: 18.14 kB / 0.7575 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.493e-05/0.6525, allocations: 58.31 kB / 0.7575 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=157): time 7.163e-06/0.6525, allocations: 0 / 0.7575 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=160): time 0.0135/0.666, allocations: 6.648 MB / 0.764 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.666, allocations: 68.34 kB / 0.7641 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003783/0.6698, allocations: 1.708 MB / 0.7657 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.67, allocations: 54.14 kB / 0.7658 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.6712, allocations: 2.187 MB / 0.7679 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/0.6717, allocations: 0.5746 MB / 0.7685 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007055/0.6724, allocations: 397.3 kB / 0.7689 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.6724, allocations: 309.1 kB / 0.7692 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.6738, allocations: 1.058 MB / 0.7702 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.6754, allocations: 1.764 MB / 0.7719 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.6785, allocations: 3.054 MB / 0.7749 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.6785, allocations: 7.594 kB / 0.7749 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005513/0.684, allocations: 3.886 MB / 0.7787 GB, free: 192 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.6841, allocations: 15.25 kB / 0.7787 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.6841, allocations: 23.62 kB / 0.7787 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002508/0.6866, allocations: 0.9261 MB / 0.7796 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.6882, allocations: 434.9 kB / 0.7801 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/0.7107, allocations: 21.08 MB / 0.8006 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/0.7133, allocations: 123.9 kB / 0.8008 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/0.7136, allocations: 96.84 kB / 0.8009 GB, free: 10.86 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.003877/0.7175, allocations: 1.644 MB / 0.8025 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007229/0.7182, allocations: 250.5 kB / 0.8027 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006395/0.7246, allocations: 3.227 MB / 0.8059 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.7246, allocations: 16 kB / 0.8059 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/0.7246, allocations: 12 kB / 0.8059 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.7246, allocations: 7.969 kB / 0.8059 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/0.7384, allocations: 6.449 MB / 0.8122 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.7384, allocations: 4 kB / 0.8122 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.7394, allocations: 219.5 kB / 0.8124 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002572/0.742, allocations: 0.8989 MB / 0.8133 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/0.7422, allocations: 35.94 kB / 0.8133 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02228/0.7644, allocations: 21.06 MB / 0.8339 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.7644, allocations: 8 kB / 0.8339 GB, free: 7.879 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006165/0.7706, allocations: 3.338 MB / 0.8371 GB, free: 4.465 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/0.772, allocations: 456.9 kB / 0.8376 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/0.7723, allocations: 35.98 kB / 0.8376 GB, free: 3.984 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.7734, allocations: 87.89 kB / 0.8377 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004401/0.7739, allocations: 147.9 kB / 0.8378 GB, free: 3.754 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.774, allocations: 46.81 kB / 0.8379 GB, free: 3.711 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001621/0.7756, allocations: 1.087 MB / 0.8389 GB, free: 2.605 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7756, allocations: 0 / 0.8389 GB, free: 2.605 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003161/0.7788, allocations: 0.9062 MB / 0.8398 GB, free: 1.699 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.0003003/0.7791, allocations: 160.6 kB / 0.84 GB, free: 1.551 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007173/0.7863, allocations: 4.286 MB / 0.8442 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.7863, allocations: 0 / 0.8442 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004607/0.7909, allocations: 2.898 MB / 0.847 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003871/0.7947, allocations: 0.7645 MB / 0.8477 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.8106, allocations: 7.803 MB / 0.8554 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003819/0.8144, allocations: 2.661 MB / 0.858 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001801/0.8162, allocations: 0.5122 MB / 0.8585 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.8166, allocations: 132.5 kB / 0.8586 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of SimCode: time 8.92e-07/0.8166, allocations: 0 / 0.8586 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of Templates: time 0.08385/0.9004, allocations: 42.13 MB / 0.8997 GB, free: 5.227 MB / 0.7325 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: 7.791065234690905] Failed to read output from testmodel.py, exit status != 0: 0.9107812121510506 0.926506335 0.40625126199999995 Calling exit ...