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.0008212/0.0008212, allocations: 99.05 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007945/0.0007946, allocations: 179.8 kB / 16.92 MB, free: 6.918 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7313/0.7313, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003702, allocations: 8 kB / 495.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1938, allocations: 77.53 MB / 0.56 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005497/0.1994, allocations: 4.017 MB / 0.5639 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00533/0.2047, allocations: 3.207 MB / 0.567 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000443/0.2052, allocations: 7.938 kB / 0.567 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000786/0.206, allocations: 171 kB / 0.5672 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.2072, allocations: 354.5 kB / 0.5675 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.2079, allocations: 223.5 kB / 0.5677 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.2091, allocations: 0.8062 MB / 0.5685 GB, free: 256 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.2106, allocations: 0.8333 MB / 0.5693 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005983/0.2112, allocations: 219.2 kB / 0.5696 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005279/0.2117, allocations: 247 kB / 0.5698 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.101e-05/0.2118, allocations: 16 kB / 0.5698 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/0.2125, allocations: 327.4 kB / 0.5701 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.2127, allocations: 131.5 kB / 0.5702 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.213, allocations: 228.6 kB / 0.5705 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.214, allocations: 0.7632 MB / 0.5712 GB, free: 13.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2141, allocations: 3.938 kB / 0.5712 GB, free: 13.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2141, allocations: 4 kB / 0.5712 GB, free: 13.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.2141, allocations: 0 / 0.5712 GB, free: 13.46 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.001496/0.2156, allocations: 0.6896 MB / 0.5719 GB, free: 12.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2156, allocations: 15.97 kB / 0.5719 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/0.2187, allocations: 0.6829 MB / 0.5726 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/0.2195, allocations: 443.8 kB / 0.573 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.2195, allocations: 25.03 kB / 0.573 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2196, allocations: 32.12 kB / 0.573 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.2214, allocations: 0.7903 MB / 0.5738 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.2214, allocations: 3.938 kB / 0.5738 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.739e-05/0.2215, allocations: 19.98 kB / 0.5738 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.2216, allocations: 40.61 kB / 0.5739 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.2238, allocations: 0.896 MB / 0.5748 GB, free: 9.719 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.2279, allocations: 2.827 MB / 0.5775 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.2297, allocations: 0.5253 MB / 0.578 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007568/0.2305, allocations: 271 kB / 0.5783 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.2306, allocations: 97.03 kB / 0.5784 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.2307, allocations: 34.56 kB / 0.5784 GB, free: 5.703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.755e-06/0.2307, allocations: 4 kB / 0.5784 GB, free: 5.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.01275/0.2434, allocations: 3.203 MB / 0.5815 GB, free: 2.465 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.2435, allocations: 59.41 kB / 0.5816 GB, free: 2.395 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.244, allocations: 401.6 kB / 0.582 GB, free: 2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.2441, allocations: 33.7 kB / 0.582 GB, free: 1.961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.2443, allocations: 239.7 kB / 0.5822 GB, free: 1.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.208e-05/0.2444, allocations: 78.84 kB / 0.5823 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.2444, allocations: 33.7 kB / 0.5824 GB, free: 1.605 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2446, allocations: 342.8 kB / 0.5827 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.2457, allocations: 367.7 kB / 0.583 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.2467, allocations: 452.3 kB / 0.5835 GB, free: 436 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3603/0.607, allocations: 0.784 MB / 0.5842 GB, free: 30.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.607, allocations: 0 / 0.5842 GB, free: 30.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005993/0.613, allocations: 1.547 MB / 0.5857 GB, free: 30.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-05/0.6131, allocations: 146.9 kB / 0.5859 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.6132, allocations: 5.812 kB / 0.5859 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004205/0.6174, allocations: 0.8242 MB / 0.5867 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007551/0.6181, allocations: 137.9 kB / 0.5868 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007063/0.6252, allocations: 4.53 MB / 0.5912 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009386/0.6262, allocations: 119.6 kB / 0.5914 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-05/0.6262, allocations: 17.56 kB / 0.5914 GB, free: 27.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6263, allocations: 7.75 kB / 0.5914 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004872/0.6311, allocations: 1.263 MB / 0.5926 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6312, allocations: 2.891 kB / 0.5926 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00282/0.634, allocations: 0.5378 MB / 0.5931 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.6348, allocations: 150.9 kB / 0.5933 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/0.6396, allocations: 2.698 MB / 0.5959 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008464/0.6404, allocations: 117.7 kB / 0.596 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.6405, allocations: 13.27 kB / 0.596 GB, free: 25.89 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.0004383/0.6409, allocations: 319.6 kB / 0.5964 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.641, allocations: 36.88 kB / 0.5964 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005162/0.6462, allocations: 1.411 MB / 0.5978 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.6462, allocations: 6.562 kB / 0.5978 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6462, allocations: 0.75 kB / 0.5978 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.6462, allocations: 3.062 kB / 0.5978 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005872/0.6521, allocations: 2.033 MB / 0.5998 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6522, allocations: 9.031 kB / 0.5998 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.6526, allocations: 85.27 kB / 0.5998 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003474/0.6561, allocations: 0.7559 MB / 0.6006 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.6561, allocations: 6.594 kB / 0.6006 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004976/0.6611, allocations: 4.367 MB / 0.6049 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6611, allocations: 1.703 kB / 0.6049 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004333/0.6655, allocations: 1.412 MB / 0.6062 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.6658, allocations: 170.5 kB / 0.6064 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.6658, allocations: 6.719 kB / 0.6064 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.6665, allocations: 98.44 kB / 0.6065 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.6666, allocations: 25.7 kB / 0.6065 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.6666, allocations: 18.55 kB / 0.6065 GB, free: 19.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003982/0.667, allocations: 302.6 kB / 0.6068 GB, free: 19.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.667, allocations: 1.031 kB / 0.6068 GB, free: 19.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009053/0.668, allocations: 209.7 kB / 0.607 GB, free: 19.67 MB / 446.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.0001649/0.6681, allocations: 106.7 kB / 0.6071 GB, free: 19.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00445/0.6726, allocations: 1.757 MB / 0.6088 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.6726, allocations: 0 / 0.6088 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.6738, allocations: 0.6407 MB / 0.6095 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007828/0.6746, allocations: 119.3 kB / 0.6096 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.6766, allocations: 1.239 MB / 0.6108 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.677, allocations: 0.9127 MB / 0.6117 GB, free: 16.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005676/0.6776, allocations: 154.2 kB / 0.6118 GB, free: 16.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.6777, allocations: 39.81 kB / 0.6119 GB, free: 16.3 MB / 446.1 MB Notification: Performance of SimCode: time 6.12e-07/0.6777, allocations: 0.5938 kB / 0.6119 GB, free: 16.3 MB / 446.1 MB Notification: Performance of Templates: time 0.01631/0.694, allocations: 12.07 MB / 0.6237 GB, free: 9.086 MB / 446.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)