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.0009605/0.0009603, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.009341/0.009341, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.753/1.753, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.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.97/1.97, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005585/0.0005586, allocations: 14.5 kB / 0.6743 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.316, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003537/0.3196, allocations: 2.583 MB / 0.7904 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.3223, allocations: 1.672 MB / 0.792 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.3225, allocations: 4 kB / 0.792 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.3227, allocations: 31.72 kB / 0.7921 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005465/0.3232, allocations: 167.3 kB / 0.7922 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.3238, allocations: 222.7 kB / 0.7924 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.3243, allocations: 426.8 kB / 0.7928 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008365/0.3252, allocations: 383.2 kB / 0.7932 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.3254, allocations: 111.5 kB / 0.7933 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.3258, allocations: 135.5 kB / 0.7934 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.3258, allocations: 8 kB / 0.7934 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.3263, allocations: 303.4 kB / 0.7937 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3265, allocations: 75.78 kB / 0.7938 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.3266, allocations: 125.1 kB / 0.7939 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005/0.3271, allocations: 414.6 kB / 0.7943 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3271, allocations: 8 kB / 0.7943 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3271, allocations: 3.938 kB / 0.7943 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3271, allocations: 0 / 0.7943 GB, free: 4.879 MB / 0.6075 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.0008207/0.328, allocations: 0.5067 MB / 0.7948 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.328, allocations: 8.031 kB / 0.7948 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006878/0.3287, allocations: 92.56 kB / 0.7949 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.329, allocations: 263.8 kB / 0.7952 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3291, allocations: 12.75 kB / 0.7952 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.3291, allocations: 20.36 kB / 0.7952 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.3298, allocations: 386.3 kB / 0.7956 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3298, allocations: 3.938 kB / 0.7956 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.3298, allocations: 15.98 kB / 0.7956 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.3299, allocations: 28.3 kB / 0.7956 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.3305, allocations: 336.7 kB / 0.7959 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.3324, allocations: 1.717 MB / 0.7976 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/0.3331, allocations: 345 kB / 0.7979 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.3334, allocations: 149.6 kB / 0.7981 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.3336, allocations: 93.09 kB / 0.7982 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3336, allocations: 34.56 kB / 0.7982 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.3336, allocations: 0 / 0.7982 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001445/0.335, allocations: 0.6143 MB / 0.7988 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.3351, allocations: 81.09 kB / 0.7989 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.3353, allocations: 207.6 kB / 0.7991 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.3354, allocations: 33.7 kB / 0.7991 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.3355, allocations: 155.9 kB / 0.7993 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.3356, allocations: 75 kB / 0.7993 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.3356, allocations: 29.72 kB / 0.7994 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3358, allocations: 330.8 kB / 0.7997 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.336, allocations: 128.5 kB / 0.7998 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.3364, allocations: 223.3 kB / 0.8 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.337, allocations: 381.9 kB / 0.8004 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.337, allocations: 3.938 kB / 0.8004 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008048/0.3378, allocations: 437.2 kB / 0.8008 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.3379, allocations: 170.7 kB / 0.801 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.338, allocations: 4 kB / 0.801 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.3382, allocations: 40.81 kB / 0.801 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.3385, allocations: 71.89 kB / 0.8011 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.3399, allocations: 1.489 MB / 0.8025 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.3401, allocations: 31.86 kB / 0.8026 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.3402, allocations: 23.97 kB / 0.8026 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/0.3402, allocations: 8.062 kB / 0.8026 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007599/0.341, allocations: 368.5 kB / 0.8029 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.341, allocations: 7.938 kB / 0.803 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.3411, allocations: 40.77 kB / 0.803 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3414, allocations: 75.83 kB / 0.8031 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.3427, allocations: 1.481 MB / 0.8045 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.3429, allocations: 27.98 kB / 0.8045 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.3429, allocations: 11.98 kB / 0.8045 GB, free: 9.613 MB / 0.6231 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.0002448/0.3432, allocations: 241 kB / 0.8048 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.3433, allocations: 19.72 kB / 0.8048 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007255/0.344, allocations: 364.1 kB / 0.8051 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.344, allocations: 4 kB / 0.8051 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.344, allocations: 0 / 0.8051 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.344, allocations: 7.922 kB / 0.8052 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.3455, allocations: 0.9701 MB / 0.8061 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3455, allocations: 4 kB / 0.8061 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.3458, allocations: 56.17 kB / 0.8062 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.3459, allocations: 36.97 kB / 0.8062 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.3459, allocations: 8 kB / 0.8062 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.3471, allocations: 1.409 MB / 0.8076 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.3471, allocations: 7.875 kB / 0.8076 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.3478, allocations: 0.5393 MB / 0.8081 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.348, allocations: 136.7 kB / 0.8082 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.348, allocations: 8 kB / 0.8083 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.3483, allocations: 19.97 kB / 0.8083 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.3483, allocations: 19.97 kB / 0.8083 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3484, allocations: 8 kB / 0.8083 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001516/0.3485, allocations: 163.5 kB / 0.8085 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3485, allocations: 4 kB / 0.8085 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006038/0.3491, allocations: 104 kB / 0.8086 GB, free: 5.223 MB / 0.6231 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.0001842/0.3493, allocations: 111.2 kB / 0.8087 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.3507, allocations: 0.7389 MB / 0.8094 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3507, allocations: 4.062 kB / 0.8094 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.3512, allocations: 278.4 kB / 0.8097 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.3517, allocations: 35.97 kB / 0.8097 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.3528, allocations: 0.66 MB / 0.8103 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.3532, allocations: 0.7678 MB / 0.8111 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.3534, allocations: 93.98 kB / 0.8112 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.3535, allocations: 23.44 kB / 0.8112 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.3535, allocations: 0 / 0.8112 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of Templates: time 0.006682/0.3602, allocations: 3.058 MB / 0.8142 GB, free: 15.35 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: