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.005848/0.005848, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.00132/0.001321, allocations: 197.5 kB / 16.79 MB, free: 6.242 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7329/0.7329, allocations: 122.9 MB / 413.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.55 kB / 0.4904 GB, free: 14.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1523, allocations: 77.93 MB / 0.5665 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006044/0.1584, allocations: 4.392 MB / 0.5708 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004829/0.1632, allocations: 3.261 MB / 0.574 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.1635, allocations: 11.94 kB / 0.574 GB, free: 9.004 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.1651, allocations: 493.6 kB / 0.5745 GB, free: 8.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008204/0.1659, allocations: 360 kB / 0.5748 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.1665, allocations: 223.5 kB / 0.575 GB, free: 7.953 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007811/0.1673, allocations: 0.8062 MB / 0.5758 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007054/0.168, allocations: 0.4974 MB / 0.5763 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004118/0.1684, allocations: 239 kB / 0.5765 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.1688, allocations: 279 kB / 0.5768 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.369e-05/0.1689, allocations: 20 kB / 0.5768 GB, free: 6.121 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005396/0.1694, allocations: 339.4 kB / 0.5771 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.1696, allocations: 139.6 kB / 0.5773 GB, free: 5.652 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.1698, allocations: 203 kB / 0.5775 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.1706, allocations: 0.7867 MB / 0.5782 GB, free: 4.664 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1706, allocations: 0 / 0.5782 GB, free: 4.664 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1706, allocations: 4 kB / 0.5782 GB, free: 4.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1706, allocations: 0 / 0.5782 GB, free: 4.66 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.001325/0.1719, allocations: 0.7715 MB / 0.579 GB, free: 3.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.172, allocations: 8.031 kB / 0.579 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002795/0.1748, allocations: 0.6828 MB / 0.5797 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.1754, allocations: 443.7 kB / 0.5801 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.1755, allocations: 21.03 kB / 0.5801 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.1755, allocations: 40.09 kB / 0.5802 GB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.1771, allocations: 0.7825 MB / 0.5809 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1771, allocations: 4 kB / 0.5809 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.1771, allocations: 15.98 kB / 0.5809 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.1773, allocations: 36.61 kB / 0.581 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.1797, allocations: 0.8726 MB / 0.5818 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3323/0.512, allocations: 2.809 MB / 0.5846 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.5137, allocations: 0.519 MB / 0.5851 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.5145, allocations: 257.8 kB / 0.5853 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.817e-05/0.5146, allocations: 84.92 kB / 0.5854 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.5146, allocations: 36.44 kB / 0.5854 GB, free: 22.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.5146, allocations: 0 / 0.5854 GB, free: 22.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.01323/0.5279, allocations: 3.055 MB / 0.5884 GB, free: 21.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.528, allocations: 54.31 kB / 0.5885 GB, free: 21.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007248/0.5287, allocations: 410.1 kB / 0.5889 GB, free: 21.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.5288, allocations: 27.58 kB / 0.5889 GB, free: 21.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.529, allocations: 238 kB / 0.5891 GB, free: 21.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5291, allocations: 87 kB / 0.5892 GB, free: 21.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.5293, allocations: 71.14 kB / 0.5893 GB, free: 21.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5294, allocations: 351 kB / 0.5896 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.5304, allocations: 358.5 kB / 0.5899 GB, free: 20.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.5316, allocations: 428.6 kB / 0.5903 GB, free: 20.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.5338, allocations: 0.7601 MB / 0.5911 GB, free: 20.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.5338, allocations: 3.938 kB / 0.5911 GB, free: 20.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005545/0.5394, allocations: 1.496 MB / 0.5926 GB, free: 19.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5394, allocations: 9.531 kB / 0.5926 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.5394, allocations: 4.25 kB / 0.5926 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003778/0.5432, allocations: 0.7689 MB / 0.5933 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/0.5439, allocations: 131.1 kB / 0.5934 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006852/0.5508, allocations: 4.494 MB / 0.5978 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.5518, allocations: 113.2 kB / 0.5979 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.5519, allocations: 14.44 kB / 0.598 GB, free: 16.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001442/0.5533, allocations: 0.5317 MB / 0.5985 GB, free: 16.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009709/0.5543, allocations: 416.1 kB / 0.5989 GB, free: 16.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001871/0.5562, allocations: 0.7264 MB / 0.5996 GB, free: 15.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.5562, allocations: 4.875 kB / 0.5996 GB, free: 15.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004561/0.5608, allocations: 1.273 MB / 0.6008 GB, free: 15.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5609, allocations: 6.969 kB / 0.6008 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5609, allocations: 1.469 kB / 0.6008 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/0.5633, allocations: 0.5082 MB / 0.6013 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.564, allocations: 133.8 kB / 0.6015 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.5672, allocations: 2.417 MB / 0.6038 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000892/0.5681, allocations: 108.2 kB / 0.6039 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.5681, allocations: 14.41 kB / 0.6039 GB, free: 13.42 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.0001993/0.5683, allocations: 201.5 kB / 0.6041 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.5684, allocations: 36.75 kB / 0.6042 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/0.5729, allocations: 1.364 MB / 0.6055 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5729, allocations: 2.719 kB / 0.6055 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.573, allocations: 1.25 kB / 0.6055 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.573, allocations: 1.188 kB / 0.6055 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/0.5779, allocations: 1.988 MB / 0.6074 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.578, allocations: 1.469 kB / 0.6074 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.5784, allocations: 79.06 kB / 0.6075 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/0.5814, allocations: 0.7096 MB / 0.6082 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.5815, allocations: 6.625 kB / 0.6082 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004834/0.5863, allocations: 4.334 MB / 0.6125 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5864, allocations: 0.9688 kB / 0.6125 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004289/0.5907, allocations: 1.355 MB / 0.6138 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.591, allocations: 168.8 kB / 0.6139 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.5911, allocations: 7.688 kB / 0.6139 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006401/0.5918, allocations: 84.36 kB / 0.614 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.5919, allocations: 22.09 kB / 0.614 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.592, allocations: 21.8 kB / 0.6141 GB, free: 6.168 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004547/0.5924, allocations: 306.6 kB / 0.6144 GB, free: 5.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5924, allocations: 0.7656 kB / 0.6144 GB, free: 5.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001074/0.5935, allocations: 205.1 kB / 0.6146 GB, free: 5.961 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.0001693/0.5937, allocations: 110.5 kB / 0.6147 GB, free: 5.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00369/0.5974, allocations: 1.556 MB / 0.6162 GB, free: 4.895 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.5974, allocations: 0 / 0.6162 GB, free: 4.895 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.5985, allocations: 0.6174 MB / 0.6168 GB, free: 4.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/0.5993, allocations: 123.6 kB / 0.6169 GB, free: 4.402 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.6017, allocations: 1.206 MB / 0.6181 GB, free: 3.609 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.6022, allocations: 0.9126 MB / 0.619 GB, free: 2.797 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007901/0.6031, allocations: 158.9 kB / 0.6191 GB, free: 2.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.6032, allocations: 36.03 kB / 0.6192 GB, free: 2.715 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.6032, allocations: 4 kB / 0.6192 GB, free: 2.711 MB / 446.1 MB Notification: Performance of Templates: time 0.01926/0.6225, allocations: 12.03 MB / 0.6309 GB, free: 9.359 MB / 462.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)