Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001295, allocations: 106.7 kB / 15.98 MB, free: 6.355 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.001223/0.001224, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7916/0.7916, allocations: 122.9 MB / 413.6 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.4906 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4005, allocations: 77.93 MB / 0.5667 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007169/0.4077, allocations: 5.093 MB / 0.5717 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004885/0.4127, allocations: 3.324 MB / 0.5749 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000433/0.4131, allocations: 11.94 kB / 0.5749 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.4147, allocations: 490.3 kB / 0.5754 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.4158, allocations: 355.2 kB / 0.5757 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.4165, allocations: 245.9 kB / 0.576 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009759/0.4175, allocations: 0.6548 MB / 0.5766 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007937/0.4183, allocations: 0.5749 MB / 0.5772 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.4187, allocations: 286.8 kB / 0.5774 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.4192, allocations: 305.4 kB / 0.5777 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.4193, allocations: 46.97 kB / 0.5778 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006915/0.42, allocations: 302.1 kB / 0.5781 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.4203, allocations: 186.1 kB / 0.5782 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.4206, allocations: 240.3 kB / 0.5785 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.4219, allocations: 0.8465 MB / 0.5793 GB, free: 25.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4219, allocations: 0 / 0.5793 GB, free: 25.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4219, allocations: 0 / 0.5793 GB, free: 25.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4219, allocations: 0 / 0.5793 GB, free: 25.25 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00172/0.4236, allocations: 0.7943 MB / 0.5801 GB, free: 24.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4237, allocations: 10.67 kB / 0.5801 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/0.4267, allocations: 0.6869 MB / 0.5808 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008509/0.4275, allocations: 456.3 kB / 0.5812 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.4276, allocations: 25.67 kB / 0.5812 GB, free: 24.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.4277, allocations: 38.88 kB / 0.5813 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.4296, allocations: 0.838 MB / 0.5821 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.4296, allocations: 5.219 kB / 0.5821 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/0.4297, allocations: 11.41 kB / 0.5821 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/0.4299, allocations: 56.47 kB / 0.5821 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.4319, allocations: 0.9313 MB / 0.5831 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004573/0.4365, allocations: 2.868 MB / 0.5859 GB, free: 20.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.4383, allocations: 0.5561 MB / 0.5864 GB, free: 20.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/0.439, allocations: 307.7 kB / 0.5867 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.4391, allocations: 87.52 kB / 0.5868 GB, free: 20.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.4392, allocations: 32.25 kB / 0.5868 GB, free: 19.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.264e-06/0.4392, allocations: 0 / 0.5868 GB, free: 19.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.01348/0.4527, allocations: 3.499 MB / 0.5902 GB, free: 18.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.4527, allocations: 53.97 kB / 0.5903 GB, free: 18.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/0.4532, allocations: 404 kB / 0.5907 GB, free: 17.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/0.4533, allocations: 30.8 kB / 0.5907 GB, free: 17.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.4534, allocations: 227.4 kB / 0.5909 GB, free: 17.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.769e-05/0.4535, allocations: 117 kB / 0.591 GB, free: 17.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.4537, allocations: 80.83 kB / 0.5911 GB, free: 17.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.4538, allocations: 340.9 kB / 0.5914 GB, free: 17.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009493/0.4547, allocations: 399.8 kB / 0.5918 GB, free: 16.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009787/0.4557, allocations: 469.7 kB / 0.5922 GB, free: 16.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.4575, allocations: 0.8425 MB / 0.5931 GB, free: 15.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4575, allocations: 0 / 0.5931 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005127/0.4626, allocations: 1.657 MB / 0.5947 GB, free: 13.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.4627, allocations: 7.938 kB / 0.5947 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.4627, allocations: 7.938 kB / 0.5947 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/0.4665, allocations: 0.8686 MB / 0.5956 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.4672, allocations: 139.8 kB / 0.5957 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00698/0.4742, allocations: 6.661 MB / 0.6022 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/0.4751, allocations: 111.9 kB / 0.6023 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.4752, allocations: 19.92 kB / 0.6023 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001126/0.4763, allocations: 0.5706 MB / 0.6029 GB, free: 5.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009174/0.4772, allocations: 460.2 kB / 0.6033 GB, free: 4.547 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001732/0.479, allocations: 0.8155 MB / 0.6041 GB, free: 3.703 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.479, allocations: 0 / 0.6041 GB, free: 3.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004826/0.4838, allocations: 1.634 MB / 0.6057 GB, free: 2.012 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4839, allocations: 4 kB / 0.6057 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4839, allocations: 4 kB / 0.6057 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/0.4866, allocations: 0.6432 MB / 0.6063 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.4873, allocations: 135.8 kB / 0.6065 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007332/0.4946, allocations: 7.305 MB / 0.6136 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.4957, allocations: 111.8 kB / 0.6137 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.4957, allocations: 8 kB / 0.6137 GB, free: 9.223 MB / 462.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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002497/0.496, allocations: 209.8 kB / 0.6139 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.4961, allocations: 35.56 kB / 0.614 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005346/0.5015, allocations: 1.536 MB / 0.6155 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.5015, allocations: 4 kB / 0.6155 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5015, allocations: 0 / 0.6155 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5015, allocations: 0 / 0.6155 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006056/0.5076, allocations: 2.205 MB / 0.6176 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5076, allocations: 4 kB / 0.6176 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.508, allocations: 75.91 kB / 0.6177 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003658/0.5117, allocations: 0.8178 MB / 0.6185 GB, free: 4.238 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.5118, allocations: 8 kB / 0.6185 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008049/0.5198, allocations: 6.515 MB / 0.6249 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5198, allocations: 0 / 0.6249 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005075/0.5249, allocations: 1.538 MB / 0.6264 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.5253, allocations: 176.6 kB / 0.6265 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/0.5254, allocations: 7.938 kB / 0.6265 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006862/0.5261, allocations: 83.86 kB / 0.6266 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.5263, allocations: 31.91 kB / 0.6266 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.5264, allocations: 11.98 kB / 0.6267 GB, free: 11.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004523/0.5269, allocations: 315.1 kB / 0.627 GB, free: 11.08 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.5269, allocations: 0 / 0.627 GB, free: 11.08 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001163/0.528, allocations: 243.9 kB / 0.6272 GB, free: 10.84 MB / 478.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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002207/0.5283, allocations: 109.5 kB / 0.6273 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004992/0.5333, allocations: 2.26 MB / 0.6295 GB, free: 8.379 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5333, allocations: 0 / 0.6295 GB, free: 8.379 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.5348, allocations: 0.8087 MB / 0.6303 GB, free: 7.531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.5356, allocations: 124 kB / 0.6304 GB, free: 7.414 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.538, allocations: 1.312 MB / 0.6317 GB, free: 6.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.5385, allocations: 0.9336 MB / 0.6326 GB, free: 5.105 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000692/0.5392, allocations: 163.2 kB / 0.6328 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.5394, allocations: 39.41 kB / 0.6328 GB, free: 4.902 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5394, allocations: 0 / 0.6328 GB, free: 4.902 MB / 478.1 MB Notification: Performance of Templates: time 0.022/0.5614, allocations: 14.67 MB / 0.6471 GB, free: 6.363 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)