Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008967, allocations: 90.95 kB / 16.66 MB, free: 6.594 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.0009882/0.0009884, allocations: 179.6 kB / 17.57 MB, free: 6.184 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.38/1.38, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7394/0.7394, allocations: 115.5 MB / 408.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003475, allocations: 11.98 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3807, allocations: 77.51 MB / 0.5606 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006231/0.387, allocations: 6.292 MB / 0.5667 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004419/0.3914, allocations: 3.007 MB / 0.5697 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005077/0.392, allocations: 24.91 kB / 0.5697 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.3924, allocations: 133.6 kB / 0.5698 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.3934, allocations: 479.1 kB / 0.5703 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009943/0.3944, allocations: 387.9 kB / 0.5707 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.396, allocations: 1.583 MB / 0.5722 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.3977, allocations: 1.019 MB / 0.5732 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006151/0.3983, allocations: 386.2 kB / 0.5736 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.399, allocations: 0.4933 MB / 0.574 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.166e-05/0.3991, allocations: 34.53 kB / 0.5741 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008774/0.4, allocations: 442.9 kB / 0.5745 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.4003, allocations: 262.2 kB / 0.5748 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.4007, allocations: 431.3 kB / 0.5752 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.4018, allocations: 0.9134 MB / 0.5761 GB, free: 27.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4018, allocations: 0 / 0.5761 GB, free: 27.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4018, allocations: 1.375 kB / 0.5761 GB, free: 27.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.4018, allocations: 0 / 0.5761 GB, free: 27.5 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001584/0.4034, allocations: 1.007 MB / 0.577 GB, free: 26.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4034, allocations: 12.19 kB / 0.5771 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.4051, allocations: 240.1 kB / 0.5773 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.4058, allocations: 0.5482 MB / 0.5778 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.4059, allocations: 56.05 kB / 0.5779 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.406, allocations: 63.33 kB / 0.5779 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.4075, allocations: 1.082 MB / 0.579 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.4076, allocations: 8.969 kB / 0.579 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/0.4076, allocations: 34.25 kB / 0.579 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/0.4078, allocations: 82.91 kB / 0.5791 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.409, allocations: 0.7517 MB / 0.5798 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004436/0.4134, allocations: 5.897 MB / 0.5856 GB, free: 20.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.4145, allocations: 0.5529 MB / 0.5861 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/0.4149, allocations: 326.2 kB / 0.5864 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.4149, allocations: 9 kB / 0.5865 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.415, allocations: 40.75 kB / 0.5865 GB, free: 20.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.886e-06/0.415, allocations: 0 / 0.5865 GB, free: 20.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.00377/0.4188, allocations: 1.998 MB / 0.5884 GB, free: 18.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.4188, allocations: 60.81 kB / 0.5885 GB, free: 18.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/0.4194, allocations: 0.5541 MB / 0.589 GB, free: 18.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.4195, allocations: 32.14 kB / 0.5891 GB, free: 18.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.4197, allocations: 416.2 kB / 0.5895 GB, free: 18.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.4198, allocations: 168.9 kB / 0.5896 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/0.4199, allocations: 61.31 kB / 0.5897 GB, free: 17.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.42, allocations: 381.8 kB / 0.5901 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.4204, allocations: 274.5 kB / 0.5903 GB, free: 17.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.4209, allocations: 498.1 kB / 0.5908 GB, free: 16.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008865/0.4218, allocations: 0.8063 MB / 0.5916 GB, free: 16.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4218, allocations: 2.438 kB / 0.5916 GB, free: 16.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001707/0.4235, allocations: 1.082 MB / 0.5926 GB, free: 15.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.4235, allocations: 7.344 kB / 0.5926 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.4235, allocations: 6.906 kB / 0.5927 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008205/0.4244, allocations: 290.2 kB / 0.5929 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.4248, allocations: 124.1 kB / 0.5931 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004865/0.4297, allocations: 6.602 MB / 0.5995 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000759/0.4305, allocations: 46.73 kB / 0.5995 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/0.4306, allocations: 27.38 kB / 0.5996 GB, free: 9.402 MB / 446.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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0004097/0.431, allocations: 258.6 kB / 0.5998 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.4311, allocations: 75.31 kB / 0.5999 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.4327, allocations: 0.8881 MB / 0.6008 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4327, allocations: 5.719 kB / 0.6008 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4327, allocations: 3.375 kB / 0.6008 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4327, allocations: 0 / 0.6008 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.4349, allocations: 1.722 MB / 0.6024 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.435, allocations: 8.109 kB / 0.6025 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.4352, allocations: 67.83 kB / 0.6025 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006515/0.4359, allocations: 271.1 kB / 0.6028 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.4359, allocations: 8 kB / 0.6028 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004409/0.4403, allocations: 6.587 MB / 0.6092 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4404, allocations: 4.031 kB / 0.6092 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.442, allocations: 0.9873 MB / 0.6102 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.4424, allocations: 188.2 kB / 0.6104 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.31e-05/0.4425, allocations: 15.94 kB / 0.6104 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.4428, allocations: 31.95 kB / 0.6104 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.443, allocations: 40.03 kB / 0.6104 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.443, allocations: 16 kB / 0.6105 GB, free: 14.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004344/0.4434, allocations: 383.1 kB / 0.6108 GB, free: 13.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4435, allocations: 4 kB / 0.6108 GB, free: 13.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008554/0.4443, allocations: 224 kB / 0.611 GB, free: 13.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001678/0.4445, allocations: 119.2 kB / 0.6112 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.4465, allocations: 1.275 MB / 0.6124 GB, free: 12.15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.4465, allocations: 4 kB / 0.6124 GB, free: 12.15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.4477, allocations: 0.8935 MB / 0.6133 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.449, allocations: 205.7 kB / 0.6135 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.4514, allocations: 1.712 MB / 0.6151 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006168/0.452, allocations: 1.013 MB / 0.6161 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.4522, allocations: 47.44 kB / 0.6162 GB, free: 8.16 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4522, allocations: 4 kB / 0.6162 GB, free: 8.156 MB / 462.1 MB Notification: Performance of Templates: time 0.02421/0.4764, allocations: 20.54 MB / 0.6362 GB, free: 3.68 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)