Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00115/0.001155, allocations: 110.9 kB / 16.37 MB, free: 6.012 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.001035/0.001035, allocations: 189.7 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3079, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.006665/0.3146, allocations: 2.904 MB / 0.7876 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5455/0.8602, allocations: 1.674 MB / 0.7893 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.8604, allocations: 9.188 kB / 0.7893 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008652/0.8614, allocations: 227 kB / 0.7895 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.8619, allocations: 183.3 kB / 0.7897 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.8625, allocations: 228.1 kB / 0.7899 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.8629, allocations: 317.4 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.8632, allocations: 173.3 kB / 0.7903 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.8634, allocations: 120.7 kB / 0.7905 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.8637, allocations: 152 kB / 0.7906 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.8637, allocations: 21 kB / 0.7906 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.8641, allocations: 258.2 kB / 0.7909 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.8642, allocations: 92.27 kB / 0.791 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.8643, allocations: 121.3 kB / 0.7911 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.8649, allocations: 411.8 kB / 0.7915 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8649, allocations: 0 / 0.7915 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.756e-06/0.8649, allocations: 0 / 0.7915 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.8649, allocations: 0 / 0.7915 GB, free: 47.2 MB / 0.6544 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.0008559/0.8658, allocations: 0.5383 MB / 0.792 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.8658, allocations: 10.97 kB / 0.792 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006847/0.8665, allocations: 87.77 kB / 0.7921 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.8669, allocations: 267 kB / 0.7923 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.8669, allocations: 13.66 kB / 0.7924 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.867, allocations: 18.17 kB / 0.7924 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006279/0.8676, allocations: 384.9 kB / 0.7927 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.8677, allocations: 4.125 kB / 0.7927 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.8677, allocations: 16.12 kB / 0.7928 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/0.8678, allocations: 24.81 kB / 0.7928 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005934/0.8684, allocations: 320.8 kB / 0.7931 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.87, allocations: 1.722 MB / 0.7948 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/0.8708, allocations: 333.8 kB / 0.7951 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.871, allocations: 149.2 kB / 0.7952 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.8712, allocations: 93.23 kB / 0.7953 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.8712, allocations: 38.06 kB / 0.7954 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 2.314e-06/0.8712, allocations: 3.5 kB / 0.7954 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.001418/0.8727, allocations: 0.5905 MB / 0.7959 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.8727, allocations: 80.98 kB / 0.796 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.8729, allocations: 202.5 kB / 0.7962 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.8729, allocations: 35.02 kB / 0.7962 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.873, allocations: 159.2 kB / 0.7964 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.8731, allocations: 77.8 kB / 0.7965 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.8732, allocations: 59.91 kB / 0.7965 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.8733, allocations: 327.7 kB / 0.7968 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.8735, allocations: 131.3 kB / 0.797 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.8738, allocations: 217.5 kB / 0.7972 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.8743, allocations: 373 kB / 0.7975 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8743, allocations: 3.438 kB / 0.7975 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006913/0.875, allocations: 420.8 kB / 0.7979 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.875, allocations: 11.38 kB / 0.7979 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.875, allocations: 2.688 kB / 0.7979 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002612/0.8753, allocations: 42.61 kB / 0.798 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.8756, allocations: 67.3 kB / 0.798 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.8769, allocations: 1.609 MB / 0.7996 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.8771, allocations: 34.12 kB / 0.7997 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.8772, allocations: 19.11 kB / 0.7997 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003097/0.8775, allocations: 233.5 kB / 0.7999 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002532/0.8778, allocations: 204.4 kB / 0.8001 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004819/0.8782, allocations: 352.8 kB / 0.8004 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.8783, allocations: 0 / 0.8004 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000721/0.879, allocations: 402.1 kB / 0.8008 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.879, allocations: 7.984 kB / 0.8008 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.879, allocations: 6 kB / 0.8008 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.8792, allocations: 40.91 kB / 0.8009 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.8795, allocations: 74.95 kB / 0.8009 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.8808, allocations: 1.609 MB / 0.8025 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.881, allocations: 28.59 kB / 0.8025 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.8811, allocations: 13.81 kB / 0.8025 GB, free: 40.12 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.8812, allocations: 196 kB / 0.8027 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.8813, allocations: 20.22 kB / 0.8027 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007495/0.882, allocations: 358.9 kB / 0.8031 GB, free: 39.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.8821, allocations: 4.047 kB / 0.8031 GB, free: 39.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.8821, allocations: 3.938 kB / 0.8031 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.8821, allocations: 3.922 kB / 0.8031 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.8837, allocations: 0.9604 MB / 0.804 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.8837, allocations: 5.781 kB / 0.804 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.8839, allocations: 52.75 kB / 0.8041 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.8841, allocations: 40.91 kB / 0.8041 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.8841, allocations: 7.672 kB / 0.8041 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009844/0.8851, allocations: 1.515 MB / 0.8056 GB, free: 37.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8851, allocations: 1.094 kB / 0.8056 GB, free: 37.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008326/0.886, allocations: 0.5297 MB / 0.8061 GB, free: 37.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.8861, allocations: 127.9 kB / 0.8063 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.8862, allocations: 8.922 kB / 0.8063 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.8864, allocations: 27.14 kB / 0.8063 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.8865, allocations: 23.66 kB / 0.8063 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.8866, allocations: 5.938 kB / 0.8063 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001746/0.8867, allocations: 158.8 kB / 0.8065 GB, free: 37.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8867, allocations: 0 / 0.8065 GB, free: 37.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007566/0.8875, allocations: 105.2 kB / 0.8066 GB, free: 37.09 MB / 0.6544 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001894/0.8877, allocations: 119.5 kB / 0.8067 GB, free: 36.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.8894, allocations: 0.7367 MB / 0.8074 GB, free: 36.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.8894, allocations: 1.344 kB / 0.8074 GB, free: 36.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.8899, allocations: 269.8 kB / 0.8077 GB, free: 36.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.8904, allocations: 34.55 kB / 0.8077 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.8917, allocations: 0.5891 MB / 0.8083 GB, free: 36.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.8921, allocations: 0.777 MB / 0.809 GB, free: 35.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.8922, allocations: 25.14 kB / 0.8091 GB, free: 35.36 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.8922, allocations: 0 / 0.8091 GB, free: 35.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.01062/0.9029, allocations: 4.193 MB / 0.8132 GB, free: 35.12 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)