Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 107.7 kB / 17.03 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 192.1 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7125/0.7125, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3497, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01112/0.3608, allocations: 10.89 MB / 0.5682 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.3734, allocations: 8.793 MB / 0.5768 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002789/0.3762, allocations: 58.5 kB / 0.5768 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004662/0.3809, allocations: 1.676 MB / 0.5785 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005073/0.386, allocations: 1.528 MB / 0.58 GB, free: 21.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.388, allocations: 0.6705 MB / 0.5806 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003452/0.3915, allocations: 2.291 MB / 0.5829 GB, free: 19.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.3933, allocations: 1.389 MB / 0.5842 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.3951, allocations: 0.974 MB / 0.5852 GB, free: 18.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.3967, allocations: 1.022 MB / 0.5862 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002567/0.397, allocations: 138.2 kB / 0.5863 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.3991, allocations: 0.7933 MB / 0.5871 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000737/0.3998, allocations: 0.5671 MB / 0.5876 GB, free: 17.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.4009, allocations: 0.8905 MB / 0.5885 GB, free: 17.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.4042, allocations: 2.564 MB / 0.591 GB, free: 15.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.4042, allocations: 0 / 0.591 GB, free: 15.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4042, allocations: 3.938 kB / 0.591 GB, free: 15.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.767e-05/0.4043, allocations: 1.156 kB / 0.591 GB, free: 15.78 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004157/0.4085, allocations: 2.025 MB / 0.593 GB, free: 14.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4085, allocations: 9 kB / 0.593 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.4188, allocations: 2.046 MB / 0.595 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.4214, allocations: 1.214 MB / 0.5962 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.4215, allocations: 85.5 kB / 0.5963 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.4218, allocations: 118.9 kB / 0.5964 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00456/0.4263, allocations: 2.477 MB / 0.5988 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.4264, allocations: 15.78 kB / 0.5988 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.4265, allocations: 55.98 kB / 0.5989 GB, free: 9.977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/0.4268, allocations: 134.1 kB / 0.599 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005895/0.4327, allocations: 2.533 MB / 0.6015 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.4443, allocations: 10.04 MB / 0.6113 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00565/0.45, allocations: 1.941 MB / 0.6132 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/0.4526, allocations: 0.9777 MB / 0.6141 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.4527, allocations: 8.438 kB / 0.6141 GB, free: 9.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.4527, allocations: 39 kB / 0.6142 GB, free: 9.582 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.4527, allocations: 0 / 0.6142 GB, free: 9.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02984/0.4826, allocations: 8.707 MB / 0.6227 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.4826, allocations: 60.06 kB / 0.6227 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.4842, allocations: 1.105 MB / 0.6238 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.4843, allocations: 41.7 kB / 0.6238 GB, free: 15.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004983/0.4849, allocations: 0.7341 MB / 0.6246 GB, free: 14.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.4851, allocations: 283.8 kB / 0.6248 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.4856, allocations: 198.4 kB / 0.625 GB, free: 14.35 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4857, allocations: 345.9 kB / 0.6254 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002767/0.4885, allocations: 1.071 MB / 0.6264 GB, free: 12.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/0.4913, allocations: 1.309 MB / 0.6277 GB, free: 11.53 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005557/0.4969, allocations: 2.386 MB / 0.63 GB, free: 9.047 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.4969, allocations: 0 / 0.63 GB, free: 9.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008459/0.5054, allocations: 3.28 MB / 0.6332 GB, free: 5.734 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.5055, allocations: 12 kB / 0.6332 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.5055, allocations: 4 kB / 0.6332 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/0.5083, allocations: 0.7914 MB / 0.634 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.5101, allocations: 415.3 kB / 0.6344 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/0.5262, allocations: 15.91 MB / 0.6499 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.5286, allocations: 295.6 kB / 0.6502 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.5288, allocations: 51.97 kB / 0.6503 GB, free: 3.121 MB / 494.1 MB 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,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.0008698/0.5297, allocations: 398.7 kB / 0.6506 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004362/0.5301, allocations: 146.3 kB / 0.6508 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008553/0.5387, allocations: 3.198 MB / 0.6539 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.5387, allocations: 11.94 kB / 0.6539 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/0.5388, allocations: 8 kB / 0.6539 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.5388, allocations: 3.984 kB / 0.6539 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.5506, allocations: 4.894 MB / 0.6587 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.5506, allocations: 7.938 kB / 0.6587 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/0.5522, allocations: 347.7 kB / 0.6591 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/0.5545, allocations: 0.7013 MB / 0.6597 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.5547, allocations: 31.97 kB / 0.6598 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/0.5696, allocations: 15.54 MB / 0.6749 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.5696, allocations: 12.06 kB / 0.675 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007857/0.5775, allocations: 3.035 MB / 0.6779 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.5786, allocations: 383.2 kB / 0.6783 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004315/0.579, allocations: 24 kB / 0.6783 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/0.5811, allocations: 295.4 kB / 0.6786 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.5814, allocations: 76.48 kB / 0.6787 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.5815, allocations: 39.97 kB / 0.6787 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00126/0.5828, allocations: 0.7405 MB / 0.6794 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.91e-07/0.5828, allocations: 4 kB / 0.6794 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001897/0.5847, allocations: 432 kB / 0.6798 GB, free: 3.414 MB / 0.5137 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,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.0003191/0.5851, allocations: 134.4 kB / 0.68 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008067/0.5931, allocations: 3.625 MB / 0.6835 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.5932, allocations: 0 / 0.6835 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00486/0.598, allocations: 2.367 MB / 0.6858 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/0.6007, allocations: 0.5301 MB / 0.6863 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008158/0.6089, allocations: 3.431 MB / 0.6897 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.6103, allocations: 1.384 MB / 0.691 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00162/0.6119, allocations: 375.9 kB / 0.6914 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/0.6123, allocations: 103.4 kB / 0.6915 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.6123, allocations: 0 / 0.6915 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of Templates: time 0.04861/0.661, allocations: 30.24 MB / 0.721 GB, free: 9.395 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)