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.0009499/0.0009502, allocations: 99.17 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.001156/0.001156, allocations: 187.4 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.334/1.334, 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.751/0.751, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.89 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3949, allocations: 77.93 MB / 0.5672 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.00598/0.4009, allocations: 4.356 MB / 0.5715 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005021/0.406, allocations: 3.257 MB / 0.5746 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.4065, allocations: 12.47 kB / 0.5747 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.4084, allocations: 0.5112 MB / 0.5752 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.4097, allocations: 397.7 kB / 0.5755 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.4104, allocations: 247.8 kB / 0.5758 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008174/0.4113, allocations: 0.5936 MB / 0.5763 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000956/0.4122, allocations: 0.531 MB / 0.5769 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000933/0.4132, allocations: 274.1 kB / 0.5771 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006932/0.4139, allocations: 278.5 kB / 0.5774 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.414, allocations: 40.78 kB / 0.5774 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009479/0.415, allocations: 300.6 kB / 0.5777 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.4152, allocations: 162.8 kB / 0.5779 GB, free: 26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.4156, allocations: 230.2 kB / 0.5781 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.4171, allocations: 0.7841 MB / 0.5789 GB, free: 25.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.4172, allocations: 0 / 0.5789 GB, free: 25.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.4172, allocations: 1.844 kB / 0.5789 GB, free: 25.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4172, allocations: 0.5312 kB / 0.5789 GB, free: 25.6 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.001419/0.4186, allocations: 0.7658 MB / 0.5796 GB, free: 25.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4187, allocations: 11.47 kB / 0.5796 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003738/0.4224, allocations: 0.6783 MB / 0.5803 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.4234, allocations: 444.5 kB / 0.5807 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.4235, allocations: 25.39 kB / 0.5807 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.506e-05/0.4236, allocations: 34.03 kB / 0.5808 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.4253, allocations: 0.7818 MB / 0.5815 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.4253, allocations: 5.25 kB / 0.5815 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.4254, allocations: 10.75 kB / 0.5815 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.4255, allocations: 41.27 kB / 0.5816 GB, free: 23.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.4275, allocations: 0.8767 MB / 0.5824 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004029/0.4316, allocations: 2.815 MB / 0.5852 GB, free: 21.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.4334, allocations: 0.5141 MB / 0.5857 GB, free: 20.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008646/0.4343, allocations: 264.3 kB / 0.5859 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.4344, allocations: 90.28 kB / 0.586 GB, free: 20.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4345, allocations: 35.66 kB / 0.5861 GB, free: 20.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.935e-06/0.4345, allocations: 0 / 0.5861 GB, free: 20.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.01258/0.4471, allocations: 3.062 MB / 0.589 GB, free: 18.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.4472, allocations: 57.41 kB / 0.5891 GB, free: 18.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006755/0.4479, allocations: 405.6 kB / 0.5895 GB, free: 18.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.4479, allocations: 35.3 kB / 0.5895 GB, free: 18.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.4481, allocations: 235.6 kB / 0.5897 GB, free: 18.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.964e-05/0.4482, allocations: 89.83 kB / 0.5898 GB, free: 18.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.4484, allocations: 71.67 kB / 0.5899 GB, free: 18.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4485, allocations: 340.7 kB / 0.5902 GB, free: 17.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/0.4495, allocations: 366.9 kB / 0.5906 GB, free: 17.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000978/0.4505, allocations: 434.5 kB / 0.591 GB, free: 17.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.4524, allocations: 0.7445 MB / 0.5917 GB, free: 17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.4524, allocations: 1.312 kB / 0.5917 GB, free: 17 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004743/0.4572, allocations: 1.503 MB / 0.5932 GB, free: 15.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.4572, allocations: 4 kB / 0.5932 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4572, allocations: 7.984 kB / 0.5932 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003204/0.4605, allocations: 0.7702 MB / 0.594 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.4611, allocations: 131.8 kB / 0.5941 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005583/0.4667, allocations: 4.833 MB / 0.5988 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.4676, allocations: 119.9 kB / 0.5989 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/0.4677, allocations: 19.98 kB / 0.5989 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001142/0.4689, allocations: 0.5232 MB / 0.5994 GB, free: 9.016 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008539/0.4697, allocations: 416.2 kB / 0.5998 GB, free: 8.578 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001628/0.4714, allocations: 0.7346 MB / 0.6006 GB, free: 7.816 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.4714, allocations: 0 / 0.6006 GB, free: 7.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.003886/0.4753, allocations: 1.266 MB / 0.6018 GB, free: 6.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4753, allocations: 10.5 kB / 0.6018 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4753, allocations: 0 / 0.6018 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.4774, allocations: 0.5003 MB / 0.6023 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.478, allocations: 135.8 kB / 0.6024 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.481, allocations: 2.613 MB / 0.605 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009094/0.482, allocations: 107.9 kB / 0.6051 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/0.482, allocations: 15.98 kB / 0.6051 GB, free: 3.02 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.0002113/0.4823, allocations: 204.1 kB / 0.6053 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.4824, allocations: 31.62 kB / 0.6053 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/0.4865, allocations: 1.362 MB / 0.6066 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4865, allocations: 8 kB / 0.6067 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4865, allocations: 0 / 0.6067 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4866, allocations: 7.984 kB / 0.6067 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004909/0.4915, allocations: 1.98 MB / 0.6086 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.4915, allocations: 4 kB / 0.6086 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.4919, allocations: 75.89 kB / 0.6087 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002974/0.4949, allocations: 0.7039 MB / 0.6094 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.918e-05/0.4949, allocations: 15.92 kB / 0.6094 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007287/0.5022, allocations: 4.674 MB / 0.6139 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.5023, allocations: 8.016 kB / 0.6139 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004617/0.5069, allocations: 1.35 MB / 0.6153 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.5073, allocations: 164.6 kB / 0.6154 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.5074, allocations: 7.984 kB / 0.6154 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007717/0.5082, allocations: 91.86 kB / 0.6155 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.5084, allocations: 19.97 kB / 0.6155 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.5084, allocations: 19.92 kB / 0.6156 GB, free: 7.867 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005324/0.509, allocations: 303.1 kB / 0.6158 GB, free: 7.574 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.509, allocations: 0 / 0.6158 GB, free: 7.574 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001433/0.5104, allocations: 200 kB / 0.616 GB, free: 7.379 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.0002263/0.5106, allocations: 115.2 kB / 0.6161 GB, free: 7.254 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004291/0.5149, allocations: 1.593 MB / 0.6177 GB, free: 5.625 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.515, allocations: 4.062 kB / 0.6177 GB, free: 5.621 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.5163, allocations: 0.623 MB / 0.6183 GB, free: 4.973 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008569/0.5171, allocations: 125.1 kB / 0.6184 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.5195, allocations: 1.052 MB / 0.6195 GB, free: 3.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/0.5202, allocations: 0.9132 MB / 0.6203 GB, free: 2.832 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006538/0.5209, allocations: 155.2 kB / 0.6205 GB, free: 2.684 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.521, allocations: 35.42 kB / 0.6205 GB, free: 2.648 MB / 462.1 MB Notification: Performance of SimCode: time 6.82e-07/0.521, allocations: 0 / 0.6205 GB, free: 2.648 MB / 462.1 MB Notification: Performance of Templates: time 0.02122/0.5423, allocations: 12.55 MB / 0.6328 GB, free: 6.18 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)