Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 98.03 kB / 16.26 MB, free: 5.934 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.001217/0.001217, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.473/1.473, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7685/0.7685, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.89 kB / 0.4911 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3269, allocations: 77.92 MB / 0.5672 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005522/0.3325, allocations: 4.363 MB / 0.5715 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00499/0.3375, allocations: 3.259 MB / 0.5747 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003883/0.3379, allocations: 12.84 kB / 0.5747 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.3396, allocations: 0.5029 MB / 0.5752 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009338/0.3405, allocations: 402.4 kB / 0.5756 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.3412, allocations: 246.7 kB / 0.5758 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007325/0.342, allocations: 0.5967 MB / 0.5764 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007644/0.3427, allocations: 0.527 MB / 0.5769 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004729/0.3432, allocations: 280.5 kB / 0.5772 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.3436, allocations: 277.2 kB / 0.5774 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/0.3437, allocations: 40 kB / 0.5775 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005534/0.3442, allocations: 295.8 kB / 0.5777 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.3444, allocations: 165.9 kB / 0.5779 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.3446, allocations: 231.4 kB / 0.5781 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009885/0.3456, allocations: 0.7819 MB / 0.5789 GB, free: 25.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3456, allocations: 0 / 0.5789 GB, free: 25.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3457, allocations: 0 / 0.5789 GB, free: 25.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.3457, allocations: 0 / 0.5789 GB, free: 25.58 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001262/0.3469, allocations: 0.7626 MB / 0.5796 GB, free: 25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.347, allocations: 10.88 kB / 0.5796 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/0.3499, allocations: 0.6778 MB / 0.5803 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.3505, allocations: 448.1 kB / 0.5807 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.3506, allocations: 22.31 kB / 0.5808 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/0.3506, allocations: 37.59 kB / 0.5808 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.3521, allocations: 0.7855 MB / 0.5816 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3521, allocations: 9.359 kB / 0.5816 GB, free: 23.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.3522, allocations: 10.56 kB / 0.5816 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.3523, allocations: 44.58 kB / 0.5816 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.3542, allocations: 0.8656 MB / 0.5825 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.3575, allocations: 2.819 MB / 0.5852 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.3591, allocations: 0.5135 MB / 0.5857 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006913/0.3598, allocations: 268.7 kB / 0.586 GB, free: 20.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.412e-05/0.3599, allocations: 91.45 kB / 0.5861 GB, free: 20.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.3599, allocations: 34.41 kB / 0.5861 GB, free: 20.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.384e-06/0.3599, allocations: 0 / 0.5861 GB, free: 20.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.01191/0.3719, allocations: 3.059 MB / 0.5891 GB, free: 18.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3719, allocations: 53.69 kB / 0.5891 GB, free: 18.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.3725, allocations: 408.8 kB / 0.5895 GB, free: 18.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.3725, allocations: 34.7 kB / 0.5896 GB, free: 18.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3727, allocations: 236.2 kB / 0.5898 GB, free: 18.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.232e-05/0.3727, allocations: 82.09 kB / 0.5899 GB, free: 18.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.3729, allocations: 75.92 kB / 0.5899 GB, free: 18.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.373, allocations: 340 kB / 0.5903 GB, free: 17.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009297/0.374, allocations: 367.6 kB / 0.5906 GB, free: 17.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009337/0.3749, allocations: 429.9 kB / 0.591 GB, free: 17.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.3767, allocations: 0.7539 MB / 0.5918 GB, free: 17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3767, allocations: 5.812 kB / 0.5918 GB, free: 16.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004647/0.3814, allocations: 1.492 MB / 0.5932 GB, free: 15.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3814, allocations: 8 kB / 0.5932 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3814, allocations: 0 / 0.5932 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003234/0.3847, allocations: 0.7702 MB / 0.594 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.3853, allocations: 131.8 kB / 0.5941 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005403/0.3907, allocations: 4.842 MB / 0.5988 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008206/0.3916, allocations: 111.8 kB / 0.5989 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.3916, allocations: 20.05 kB / 0.599 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00103/0.3927, allocations: 0.531 MB / 0.5995 GB, free: 8.973 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008338/0.3935, allocations: 416.2 kB / 0.5999 GB, free: 8.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001636/0.3951, allocations: 0.7298 MB / 0.6006 GB, free: 7.777 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.973e-06/0.3952, allocations: 0 / 0.6006 GB, free: 7.777 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.003856/0.399, allocations: 1.27 MB / 0.6018 GB, free: 6.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.399, allocations: 7.984 kB / 0.6018 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.3991, allocations: 4 kB / 0.6018 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/0.4011, allocations: 0.5042 MB / 0.6023 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.4018, allocations: 131.8 kB / 0.6025 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.4046, allocations: 2.606 MB / 0.605 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/0.4054, allocations: 107.8 kB / 0.6051 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.4054, allocations: 20.05 kB / 0.6051 GB, free: 2.977 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.4056, allocations: 202 kB / 0.6053 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/0.4057, allocations: 31.62 kB / 0.6053 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.4099, allocations: 1.362 MB / 0.6067 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4099, allocations: 4 kB / 0.6067 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4099, allocations: 7.984 kB / 0.6067 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4099, allocations: 0 / 0.6067 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004885/0.4148, allocations: 1.978 MB / 0.6086 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4149, allocations: 4.094 kB / 0.6086 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.4153, allocations: 83.83 kB / 0.6087 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003149/0.4185, allocations: 0.7116 MB / 0.6094 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.4185, allocations: 11.94 kB / 0.6094 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006516/0.4251, allocations: 4.678 MB / 0.614 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4251, allocations: 0 / 0.614 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004206/0.4293, allocations: 1.353 MB / 0.6153 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.4296, allocations: 172.6 kB / 0.6155 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.4297, allocations: 0 / 0.6155 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.4303, allocations: 91.86 kB / 0.6155 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.4305, allocations: 23.97 kB / 0.6156 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.4305, allocations: 15.98 kB / 0.6156 GB, free: 7.824 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000429/0.4309, allocations: 303.1 kB / 0.6159 GB, free: 7.531 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4309, allocations: 4 kB / 0.6159 GB, free: 7.527 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009112/0.4319, allocations: 200 kB / 0.6161 GB, free: 7.332 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.4321, allocations: 107.2 kB / 0.6162 GB, free: 7.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003684/0.4357, allocations: 1.59 MB / 0.6177 GB, free: 5.586 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4358, allocations: 384 / 0.6177 GB, free: 5.586 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.437, allocations: 0.6261 MB / 0.6183 GB, free: 4.934 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007276/0.4377, allocations: 127.9 kB / 0.6185 GB, free: 4.816 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.4397, allocations: 1.06 MB / 0.6195 GB, free: 3.719 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.4402, allocations: 0.9132 MB / 0.6204 GB, free: 2.781 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005808/0.4408, allocations: 159.2 kB / 0.6205 GB, free: 2.629 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.441, allocations: 35.42 kB / 0.6206 GB, free: 2.594 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.441, allocations: 0 / 0.6206 GB, free: 2.594 MB / 462.1 MB Notification: Performance of Templates: time 0.01783/0.4588, allocations: 12.53 MB / 0.6328 GB, free: 6.145 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)