Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.567/2.567, allocations: 251.1 MB / 266.7 MB, free: 11.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001372, allocations: 181 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.415/2.415, allocations: 205.4 MB / 0.5772 GB, free: 21.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00093/0.0009297, allocations: 89.81 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006892/0.0006894, allocations: 13.34 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.234, allocations: 106.2 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.006012/0.2401, allocations: 2.509 MB / 0.9019 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004512/0.2447, allocations: 1.572 MB / 0.9035 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.2451, allocations: 3.938 kB / 0.9035 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.2454, allocations: 27.78 kB / 0.9035 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008417/0.2462, allocations: 135.4 kB / 0.9036 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.2474, allocations: 171.6 kB / 0.9038 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007813/0.2482, allocations: 358.8 kB / 0.9041 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.2495, allocations: 376.6 kB / 0.9045 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.25, allocations: 103.6 kB / 0.9046 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.2504, allocations: 127.6 kB / 0.9047 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.2505, allocations: 8 kB / 0.9047 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006142/0.2511, allocations: 147.8 kB / 0.9049 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.2514, allocations: 71.78 kB / 0.9049 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2515, allocations: 65.58 kB / 0.905 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006645/0.2522, allocations: 299.2 kB / 0.9053 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.2522, allocations: 0 / 0.9053 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.208e-06/0.2523, allocations: 0 / 0.9053 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.2523, allocations: 7.938 kB / 0.9053 GB, free: 60.01 MB / 0.6042 GB 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.001301/0.2536, allocations: 0.5068 MB / 0.9058 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.2537, allocations: 8.031 kB / 0.9058 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.2552, allocations: 92.47 kB / 0.9059 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.2559, allocations: 249.1 kB / 0.9061 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.256, allocations: 20.75 kB / 0.9061 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/0.2561, allocations: 20.36 kB / 0.9062 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.2573, allocations: 386.4 kB / 0.9065 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.2574, allocations: 3.938 kB / 0.9065 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.2575, allocations: 4 kB / 0.9065 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.311e-05/0.2575, allocations: 28.31 kB / 0.9066 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.2588, allocations: 336.6 kB / 0.9069 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.2622, allocations: 1.724 MB / 0.9086 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.2637, allocations: 341 kB / 0.9089 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005853/0.2644, allocations: 157.6 kB / 0.909 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.2646, allocations: 85.02 kB / 0.9091 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.2647, allocations: 38.56 kB / 0.9092 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 4.439e-06/0.2647, allocations: 4 kB / 0.9092 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.00282/0.2675, allocations: 0.609 MB / 0.9098 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2676, allocations: 77.11 kB / 0.9098 GB, free: 55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.268, allocations: 208.4 kB / 0.91 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.2681, allocations: 29.7 kB / 0.9101 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.2682, allocations: 159.9 kB / 0.9102 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.2683, allocations: 74.91 kB / 0.9103 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.2684, allocations: 7.938 kB / 0.9103 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2685, allocations: 330.8 kB / 0.9106 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006373/0.2691, allocations: 136.4 kB / 0.9107 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.2698, allocations: 223.3 kB / 0.9109 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006743/0.2705, allocations: 165 kB / 0.9111 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.2705, allocations: 4 kB / 0.9111 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001799/0.2723, allocations: 428.5 kB / 0.9115 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.2725, allocations: 166.7 kB / 0.9117 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.2726, allocations: 11.94 kB / 0.9117 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004164/0.273, allocations: 36.83 kB / 0.9117 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.2737, allocations: 75.88 kB / 0.9118 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.276, allocations: 1.493 MB / 0.9132 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005608/0.2766, allocations: 31.88 kB / 0.9133 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.2767, allocations: 16 kB / 0.9133 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2767, allocations: 4 kB / 0.9133 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001438/0.2782, allocations: 368.7 kB / 0.9136 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2783, allocations: 192 / 0.9136 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/0.2786, allocations: 48.73 kB / 0.9137 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.2793, allocations: 71.89 kB / 0.9138 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.2812, allocations: 1.481 MB / 0.9152 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.2817, allocations: 31.83 kB / 0.9152 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.2818, allocations: 12 kB / 0.9153 GB, free: 49.04 MB / 0.6042 GB 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.0003642/0.2822, allocations: 241 kB / 0.9155 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.2823, allocations: 15.81 kB / 0.9155 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.2838, allocations: 366.1 kB / 0.9158 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.2839, allocations: 0 / 0.9158 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2839, allocations: 0 / 0.9158 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.2841, allocations: 120.8 kB / 0.916 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.086e-05/0.2842, allocations: 7.938 kB / 0.916 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/0.2848, allocations: 32.02 kB / 0.916 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.2849, allocations: 19.97 kB / 0.916 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001724/0.2867, allocations: 0.5203 MB / 0.9165 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001664/0.2884, allocations: 0.7104 MB / 0.9172 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004871/0.289, allocations: 135.9 kB / 0.9174 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002415/0.2892, allocations: 151 kB / 0.9175 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of Backend: time 5.91e-07/0.2892, allocations: 3.938 kB / 0.9175 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002899/0.2922, allocations: 0.7624 MB / 0.9182 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001282/0.2935, allocations: 1.004 MB / 0.9192 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.0136/0.3071, allocations: 5.143 MB / 0.9242 GB, free: 39.71 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)