Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 288.4 MB / 304.3 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 175.2 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 0.6316 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000773/0.0007729, allocations: 100.6 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004113, allocations: 10.75 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.224, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003287/0.2274, allocations: 2.49 MB / 0.9832 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.2297, allocations: 1.568 MB / 0.9847 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.2299, allocations: 7.938 kB / 0.9847 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.2301, allocations: 27.78 kB / 0.9847 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005118/0.2306, allocations: 163.3 kB / 0.9849 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.2312, allocations: 191.5 kB / 0.9851 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.2317, allocations: 358.9 kB / 0.9854 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.2324, allocations: 367.4 kB / 0.9858 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.2327, allocations: 107.6 kB / 0.9859 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.233, allocations: 139.5 kB / 0.986 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.233, allocations: 12 kB / 0.986 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000517/0.2336, allocations: 295.3 kB / 0.9863 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.219e-05/0.2337, allocations: 75.78 kB / 0.9864 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.2338, allocations: 121.2 kB / 0.9865 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.2342, allocations: 319.2 kB / 0.9868 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2343, allocations: 0 / 0.9868 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2343, allocations: 0 / 0.9868 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.2343, allocations: 0 / 0.9868 GB, free: 21.11 MB / 0.6198 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.0008547/0.2352, allocations: 0.5068 MB / 0.9873 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2352, allocations: 11.97 kB / 0.9873 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007439/0.236, allocations: 88.56 kB / 0.9874 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.2363, allocations: 255.9 kB / 0.9876 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.2363, allocations: 12.75 kB / 0.9876 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.2364, allocations: 20.28 kB / 0.9877 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.237, allocations: 386.5 kB / 0.988 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.237, allocations: 0 / 0.988 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.2371, allocations: 16 kB / 0.988 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.2371, allocations: 20.31 kB / 0.9881 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.2377, allocations: 328.7 kB / 0.9884 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.2392, allocations: 1.74 MB / 0.9901 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.2398, allocations: 333 kB / 0.9904 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.2401, allocations: 157.6 kB / 0.9905 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.2402, allocations: 89.09 kB / 0.9906 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.2402, allocations: 38.5 kB / 0.9907 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.993e-06/0.2402, allocations: 0 / 0.9907 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001219/0.2415, allocations: 0.6052 MB / 0.9913 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.2415, allocations: 85.11 kB / 0.9913 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2417, allocations: 208.4 kB / 0.9915 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.2417, allocations: 29.7 kB / 0.9916 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.2418, allocations: 159.8 kB / 0.9917 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.2418, allocations: 74.98 kB / 0.9918 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.2419, allocations: 4 kB / 0.9918 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.2419, allocations: 330.8 kB / 0.9921 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.2422, allocations: 136.5 kB / 0.9922 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.2424, allocations: 211.2 kB / 0.9924 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.2429, allocations: 376.4 kB / 0.9928 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2429, allocations: 0 / 0.9928 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006721/0.2436, allocations: 449.1 kB / 0.9932 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.048e-05/0.2437, allocations: 158.5 kB / 0.9934 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2437, allocations: 7.938 kB / 0.9934 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.2439, allocations: 44.81 kB / 0.9934 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.2442, allocations: 75.88 kB / 0.9935 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.2453, allocations: 1.497 MB / 0.995 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.2456, allocations: 35.81 kB / 0.995 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.2456, allocations: 8 kB / 0.995 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.2456, allocations: 4 kB / 0.995 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006065/0.2462, allocations: 372.3 kB / 0.9954 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2462, allocations: 0 / 0.9954 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.2464, allocations: 44.77 kB / 0.9954 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.2466, allocations: 72.23 kB / 0.9955 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008853/0.2475, allocations: 1.481 MB / 0.9969 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.2477, allocations: 35.97 kB / 0.997 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.2478, allocations: 12 kB / 0.997 GB, free: 9.906 MB / 0.6198 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.0002045/0.248, allocations: 236.9 kB / 0.9972 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.248, allocations: 19.72 kB / 0.9972 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006429/0.2487, allocations: 365.2 kB / 0.9976 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.2487, allocations: 7.984 kB / 0.9976 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2487, allocations: 128 / 0.9976 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.2489, allocations: 124.7 kB / 0.9977 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.2489, allocations: 15.94 kB / 0.9977 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.2492, allocations: 31.95 kB / 0.9977 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.2493, allocations: 15.92 kB / 0.9977 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007969/0.2501, allocations: 0.5107 MB / 0.9982 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007709/0.2508, allocations: 0.7083 MB / 0.9989 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002024/0.2511, allocations: 135.9 kB / 0.9991 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001109/0.2512, allocations: 154.8 kB / 0.9992 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of Backend: time 9.51e-07/0.2512, allocations: 0 / 0.9992 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.2528, allocations: 0.8283 MB / 1 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0008996/0.2537, allocations: 1.013 MB / 1.001 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of Templates: time 0.007996/0.2617, allocations: 5.173 MB / 1.006 GB, free: 464 kB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)