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.0009055/0.0009055, allocations: 96.58 kB / 15.69 MB, free: 488 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.001157/0.001157, allocations: 175.8 kB / 16.57 MB, free: 6.855 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.336/1.336, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6969/0.6969, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 8 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1814, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005158/0.1866, allocations: 3.68 MB / 0.5604 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004573/0.1912, allocations: 2.932 MB / 0.5633 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.1916, allocations: 11.88 kB / 0.5633 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006981/0.1923, allocations: 155.3 kB / 0.5635 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009523/0.1932, allocations: 294.5 kB / 0.5637 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.1938, allocations: 179.5 kB / 0.5639 GB, free: 4.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000566/0.1944, allocations: 347.2 kB / 0.5642 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.1955, allocations: 0.7275 MB / 0.565 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.1958, allocations: 151.5 kB / 0.5651 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.1961, allocations: 179.3 kB / 0.5653 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.1962, allocations: 20 kB / 0.5653 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005994/0.1968, allocations: 231.7 kB / 0.5655 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.197, allocations: 127.7 kB / 0.5656 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.197, allocations: 105.5 kB / 0.5657 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007615/0.1978, allocations: 0.6626 MB / 0.5664 GB, free: 1.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1978, allocations: 0 / 0.5664 GB, free: 1.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1978, allocations: 4 kB / 0.5664 GB, free: 1.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1979, allocations: 0 / 0.5664 GB, free: 1.777 MB / 430.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.001332/0.1992, allocations: 0.7186 MB / 0.5671 GB, free: 1.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1992, allocations: 12.03 kB / 0.5671 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/0.2021, allocations: 0.7014 MB / 0.5678 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.203, allocations: 474.6 kB / 0.5682 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.203, allocations: 24.61 kB / 0.5683 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/0.2031, allocations: 32 kB / 0.5683 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.2046, allocations: 0.7825 MB / 0.5691 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.2047, allocations: 0 / 0.5691 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.2047, allocations: 16 kB / 0.5691 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.2048, allocations: 48.59 kB / 0.5691 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.2068, allocations: 0.8804 MB / 0.57 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.2113, allocations: 2.87 MB / 0.5728 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.2129, allocations: 0.5214 MB / 0.5733 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.213, allocations: 85.09 kB / 0.5734 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2131, allocations: 42.5 kB / 0.5734 GB, free: 10.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.385e-06/0.2131, allocations: 0 / 0.5734 GB, free: 10.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.01158/0.2247, allocations: 3.211 MB / 0.5765 GB, free: 6.953 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.2248, allocations: 85.06 kB / 0.5766 GB, free: 6.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.2253, allocations: 417.5 kB / 0.577 GB, free: 6.441 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.2254, allocations: 33.64 kB / 0.5771 GB, free: 6.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.2256, allocations: 239.8 kB / 0.5773 GB, free: 6.164 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.44e-05/0.2257, allocations: 86.75 kB / 0.5774 GB, free: 6.078 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.2257, allocations: 4 kB / 0.5774 GB, free: 6.074 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2259, allocations: 346.8 kB / 0.5777 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009056/0.2268, allocations: 359.7 kB / 0.578 GB, free: 5.375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/0.2277, allocations: 445.2 kB / 0.5785 GB, free: 4.902 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009034/0.2286, allocations: 390.5 kB / 0.5788 GB, free: 4.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2286, allocations: 4 kB / 0.5788 GB, free: 4.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004977/0.2336, allocations: 1.54 MB / 0.5804 GB, free: 2.969 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003913/0.234, allocations: 0.794 MB / 0.5811 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2341, allocations: 0 / 0.5811 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00384/0.2379, allocations: 0.8519 MB / 0.582 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/0.2385, allocations: 135.8 kB / 0.5821 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3644/0.6029, allocations: 4.773 MB / 0.5868 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/0.6038, allocations: 117.9 kB / 0.5869 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.6039, allocations: 15.69 kB / 0.5869 GB, free: 30.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.6039, allocations: 3.281 kB / 0.5869 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004626/0.6086, allocations: 1.258 MB / 0.5881 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6086, allocations: 2.5 kB / 0.5881 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/0.6113, allocations: 0.554 MB / 0.5887 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/0.6121, allocations: 148.8 kB / 0.5888 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/0.616, allocations: 2.564 MB / 0.5913 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/0.6169, allocations: 112.7 kB / 0.5914 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.6169, allocations: 19.16 kB / 0.5914 GB, free: 28.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004304/0.6174, allocations: 320.2 kB / 0.5917 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.6175, allocations: 38.17 kB / 0.5918 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/0.6226, allocations: 1.417 MB / 0.5931 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.6226, allocations: 5.969 kB / 0.5932 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6226, allocations: 0.9688 kB / 0.5932 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6226, allocations: 2.172 kB / 0.5932 GB, free: 27.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005743/0.6284, allocations: 2.091 MB / 0.5952 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.6284, allocations: 1.953 kB / 0.5952 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.6288, allocations: 92.77 kB / 0.5953 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00381/0.6327, allocations: 0.7832 MB / 0.5961 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.6327, allocations: 9.141 kB / 0.5961 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005876/0.6386, allocations: 4.609 MB / 0.6006 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6386, allocations: 6.141 kB / 0.6006 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004428/0.6431, allocations: 1.472 MB / 0.602 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.6434, allocations: 174.8 kB / 0.6022 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/0.6435, allocations: 6.438 kB / 0.6022 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/0.644, allocations: 97.2 kB / 0.6023 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.6442, allocations: 20.61 kB / 0.6023 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.6442, allocations: 14.41 kB / 0.6023 GB, free: 23.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003645/0.6446, allocations: 306.3 kB / 0.6026 GB, free: 23.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6446, allocations: 0 / 0.6026 GB, free: 23.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009227/0.6455, allocations: 206.3 kB / 0.6028 GB, free: 23.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002003/0.6457, allocations: 123.2 kB / 0.6029 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003608/0.6494, allocations: 1.626 MB / 0.6045 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.6494, allocations: 1.219 kB / 0.6045 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.6506, allocations: 0.6637 MB / 0.6052 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.6513, allocations: 129.9 kB / 0.6053 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.6532, allocations: 1.214 MB / 0.6065 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.6536, allocations: 0.9228 MB / 0.6074 GB, free: 20.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005535/0.6542, allocations: 150.2 kB / 0.6075 GB, free: 20 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.6543, allocations: 36.12 kB / 0.6075 GB, free: 19.98 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6543, allocations: 0 / 0.6075 GB, free: 19.98 MB / 446.1 MB Notification: Performance of Templates: time 0.02097/0.6753, allocations: 11.91 MB / 0.6192 GB, free: 14.09 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)