Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007612/0.0007612, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008856/0.0008857, allocations: 172.9 kB / 16.58 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.435/1.435, allocations: 223.2 MB / 240.6 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7577/0.7577, allocations: 115.5 MB / 407.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004654, allocations: 12.75 kB / 495.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1938, allocations: 77.52 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003213/0.1971, allocations: 2.479 MB / 0.5617 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.1996, allocations: 1.524 MB / 0.5632 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.1997, allocations: 7.938 kB / 0.5632 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.2, allocations: 35.7 kB / 0.5633 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.2004, allocations: 131.4 kB / 0.5634 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.2009, allocations: 174.7 kB / 0.5636 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004635/0.2014, allocations: 350.9 kB / 0.5639 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007541/0.2022, allocations: 367 kB / 0.5642 GB, free: 4.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.2024, allocations: 103.6 kB / 0.5643 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.2027, allocations: 135.5 kB / 0.5645 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.2027, allocations: 12 kB / 0.5645 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.203, allocations: 143.8 kB / 0.5646 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.482e-05/0.2031, allocations: 67.8 kB / 0.5647 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.2032, allocations: 65.58 kB / 0.5648 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.2036, allocations: 307.4 kB / 0.565 GB, free: 3.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2036, allocations: 0 / 0.565 GB, free: 3.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2036, allocations: 0 / 0.565 GB, free: 3.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.2036, allocations: 4 kB / 0.565 GB, free: 3.5 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000845/0.2045, allocations: 0.4989 MB / 0.5655 GB, free: 2.949 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2045, allocations: 12.03 kB / 0.5655 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006883/0.2052, allocations: 87.62 kB / 0.5656 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.2056, allocations: 264 kB / 0.5659 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2056, allocations: 12.38 kB / 0.5659 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.2056, allocations: 24 kB / 0.5659 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.2063, allocations: 382.2 kB / 0.5663 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.2063, allocations: 3.906 kB / 0.5663 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.2063, allocations: 8 kB / 0.5663 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.2064, allocations: 24.31 kB / 0.5663 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.207, allocations: 332.7 kB / 0.5666 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.2089, allocations: 1.736 MB / 0.5683 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006858/0.2096, allocations: 325.1 kB / 0.5686 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.2099, allocations: 157.6 kB / 0.5688 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.21, allocations: 89.09 kB / 0.5689 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2101, allocations: 38.5 kB / 0.5689 GB, free: 15.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.2101, allocations: 0 / 0.5689 GB, free: 15.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001366/0.2115, allocations: 0.6094 MB / 0.5695 GB, free: 14.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.2115, allocations: 81.11 kB / 0.5696 GB, free: 14.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.2118, allocations: 216.3 kB / 0.5698 GB, free: 14.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.2118, allocations: 29.64 kB / 0.5698 GB, free: 14.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2119, allocations: 159.9 kB / 0.57 GB, free: 14.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.212, allocations: 74.92 kB / 0.57 GB, free: 14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.212, allocations: 4 kB / 0.57 GB, free: 14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2122, allocations: 330.8 kB / 0.5704 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.2124, allocations: 136.5 kB / 0.5705 GB, free: 13.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.2127, allocations: 211.5 kB / 0.5707 GB, free: 13.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.213, allocations: 164.8 kB / 0.5709 GB, free: 13.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.213, allocations: 0 / 0.5709 GB, free: 13.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007648/0.2138, allocations: 444.1 kB / 0.5713 GB, free: 12.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.2139, allocations: 158.7 kB / 0.5714 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2139, allocations: 8 kB / 0.5714 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/0.2142, allocations: 48.75 kB / 0.5715 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.2145, allocations: 67.89 kB / 0.5715 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.2159, allocations: 1.497 MB / 0.573 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.2161, allocations: 31.83 kB / 0.573 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.2162, allocations: 11.98 kB / 0.573 GB, free: 10.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.141e-06/0.2162, allocations: 4 kB / 0.5731 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006664/0.2168, allocations: 374.1 kB / 0.5734 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2169, allocations: 12.05 kB / 0.5734 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001278/0.217, allocations: 36.83 kB / 0.5735 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.2172, allocations: 71.89 kB / 0.5735 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.2184, allocations: 1.477 MB / 0.575 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.2186, allocations: 23.92 kB / 0.575 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.2187, allocations: 19.98 kB / 0.575 GB, free: 8.539 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.2189, allocations: 233.1 kB / 0.5752 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.2189, allocations: 23.72 kB / 0.5753 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.2196, allocations: 360.1 kB / 0.5756 GB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.2196, allocations: 4.141 kB / 0.5756 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2197, allocations: 3.938 kB / 0.5756 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2197, allocations: 7.969 kB / 0.5756 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2211, allocations: 0.9677 MB / 0.5766 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.2211, allocations: 4 kB / 0.5766 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.2213, allocations: 52.06 kB / 0.5766 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.2215, allocations: 52.77 kB / 0.5767 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.2215, allocations: 8.062 kB / 0.5767 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.2228, allocations: 1.402 MB / 0.578 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.2228, allocations: 4.031 kB / 0.578 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/0.2236, allocations: 0.5416 MB / 0.5786 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.2237, allocations: 128.7 kB / 0.5787 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.2238, allocations: 8 kB / 0.5787 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.224, allocations: 27.91 kB / 0.5787 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.2241, allocations: 27.86 kB / 0.5788 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.2241, allocations: 8 kB / 0.5788 GB, free: 4.406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.2243, allocations: 158.8 kB / 0.5789 GB, free: 4.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2243, allocations: 0 / 0.5789 GB, free: 4.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006217/0.2249, allocations: 112 kB / 0.579 GB, free: 4.141 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001897/0.2251, allocations: 107.2 kB / 0.5791 GB, free: 4.023 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.2265, allocations: 0.7304 MB / 0.5798 GB, free: 3.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/0.2265, allocations: 0 / 0.5798 GB, free: 3.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00043/0.2269, allocations: 274.6 kB / 0.5801 GB, free: 2.988 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.2274, allocations: 34.94 kB / 0.5801 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.2286, allocations: 0.6762 MB / 0.5808 GB, free: 2.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.229, allocations: 0.7716 MB / 0.5815 GB, free: 1.441 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002662/0.2293, allocations: 93.98 kB / 0.5816 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.2294, allocations: 19.44 kB / 0.5817 GB, free: 1.324 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.2294, allocations: 0 / 0.5817 GB, free: 1.324 MB / 446.1 MB Notification: Performance of Templates: time 0.2931/0.5225, allocations: 2.973 MB / 0.5846 GB, free: 30.16 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)