Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001116/0.001116, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.399/1.399, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.799/1.799, allocations: 292.3 MB / 0.5495 GB, free: 17.44 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.001427/0.001428, allocations: 67.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2526, allocations: 114.6 MB / 0.784 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.4802/0.7329, allocations: 4.346 MB / 0.7883 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005095/0.738, allocations: 3.249 MB / 0.7915 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.7384, allocations: 12.03 kB / 0.7915 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.7401, allocations: 0.5014 MB / 0.792 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.7412, allocations: 383.7 kB / 0.7923 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008781/0.7421, allocations: 261.4 kB / 0.7926 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.7434, allocations: 0.5955 MB / 0.7932 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009483/0.7443, allocations: 0.5276 MB / 0.7937 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007639/0.7451, allocations: 276.5 kB / 0.7939 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.7456, allocations: 273.8 kB / 0.7942 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.388e-05/0.7457, allocations: 40.62 kB / 0.7942 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007565/0.7465, allocations: 290.5 kB / 0.7945 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.7467, allocations: 172.2 kB / 0.7947 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.747, allocations: 234 kB / 0.7949 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008917/0.7479, allocations: 0.7667 MB / 0.7956 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.7479, allocations: 4.531 kB / 0.7957 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7479, allocations: 0 / 0.7957 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.7479, allocations: 0 / 0.7957 GB, free: 44.91 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001361/0.7493, allocations: 0.7674 MB / 0.7964 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.7493, allocations: 10.47 kB / 0.7964 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/0.7521, allocations: 0.6568 MB / 0.7971 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.7528, allocations: 439.8 kB / 0.7975 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.7528, allocations: 25.3 kB / 0.7975 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/0.7529, allocations: 33.66 kB / 0.7975 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.7545, allocations: 0.7783 MB / 0.7983 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.7546, allocations: 0 / 0.7983 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.7546, allocations: 10.19 kB / 0.7983 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.7548, allocations: 45.91 kB / 0.7983 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.757, allocations: 0.8561 MB / 0.7992 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004233/0.7612, allocations: 2.805 MB / 0.8019 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.7631, allocations: 0.4959 MB / 0.8024 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007922/0.7639, allocations: 254.7 kB / 0.8026 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.7641, allocations: 85.91 kB / 0.8027 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.7641, allocations: 32.47 kB / 0.8028 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.7641, allocations: 0 / 0.8028 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.01315/0.7773, allocations: 2.963 MB / 0.8057 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.7774, allocations: 57.91 kB / 0.8057 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008533/0.7782, allocations: 405.6 kB / 0.8061 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.91e-05/0.7784, allocations: 31.11 kB / 0.8061 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.7785, allocations: 235.2 kB / 0.8063 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.7787, allocations: 88.55 kB / 0.8064 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.7788, allocations: 74.02 kB / 0.8065 GB, free: 40.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.779, allocations: 342.6 kB / 0.8068 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.78, allocations: 344.2 kB / 0.8072 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.7811, allocations: 423.8 kB / 0.8076 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.7832, allocations: 0.7394 MB / 0.8083 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.7832, allocations: 1.219 kB / 0.8083 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005643/0.7888, allocations: 1.469 MB / 0.8097 GB, free: 39.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.7889, allocations: 5.219 kB / 0.8097 GB, free: 39.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.7889, allocations: 2.469 kB / 0.8097 GB, free: 39.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/0.793, allocations: 0.7708 MB / 0.8105 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.7937, allocations: 126.4 kB / 0.8106 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007555/0.8013, allocations: 4.843 MB / 0.8153 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.8024, allocations: 106.2 kB / 0.8154 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/0.8025, allocations: 16.44 kB / 0.8154 GB, free: 35.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001504/0.804, allocations: 0.5206 MB / 0.816 GB, free: 35.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001145/0.8052, allocations: 408.9 kB / 0.8163 GB, free: 35.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002082/0.8073, allocations: 0.7064 MB / 0.817 GB, free: 35.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/0.8073, allocations: 1.5 kB / 0.817 GB, free: 35.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004979/0.8123, allocations: 1.251 MB / 0.8183 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.8124, allocations: 7.031 kB / 0.8183 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8124, allocations: 1.375 kB / 0.8183 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002619/0.815, allocations: 0.4956 MB / 0.8188 GB, free: 34.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/0.8158, allocations: 140.2 kB / 0.8189 GB, free: 34.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/0.8201, allocations: 2.603 MB / 0.8214 GB, free: 33.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/0.8211, allocations: 102.7 kB / 0.8215 GB, free: 33.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.8211, allocations: 13.02 kB / 0.8215 GB, free: 33.03 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002398/0.8214, allocations: 203.4 kB / 0.8217 GB, free: 32.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.8216, allocations: 36.03 kB / 0.8218 GB, free: 32.81 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005337/0.8269, allocations: 1.349 MB / 0.8231 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.8269, allocations: 2.906 kB / 0.8231 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.827, allocations: 1.5 kB / 0.8231 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.827, allocations: 2.109 kB / 0.8231 GB, free: 32.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006359/0.8333, allocations: 1.988 MB / 0.825 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.8334, allocations: 0.9688 kB / 0.825 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.8338, allocations: 79.14 kB / 0.8251 GB, free: 31.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003572/0.8374, allocations: 0.7117 MB / 0.8258 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.8375, allocations: 8.812 kB / 0.8258 GB, free: 31.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006145/0.8436, allocations: 4.676 MB / 0.8304 GB, free: 28.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.8437, allocations: 5.469 kB / 0.8304 GB, free: 28.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.8483, allocations: 1.356 MB / 0.8317 GB, free: 27.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.8486, allocations: 161.7 kB / 0.8319 GB, free: 27.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.8488, allocations: 8.438 kB / 0.8319 GB, free: 27.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006444/0.8494, allocations: 82.47 kB / 0.8319 GB, free: 27.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.8496, allocations: 26.91 kB / 0.832 GB, free: 27.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.8497, allocations: 10.81 kB / 0.832 GB, free: 27.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004747/0.8502, allocations: 304.1 kB / 0.8323 GB, free: 27.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8502, allocations: 0 / 0.8323 GB, free: 27.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001268/0.8514, allocations: 194.5 kB / 0.8325 GB, free: 27.12 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002776/0.8517, allocations: 106.7 kB / 0.8326 GB, free: 27.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004065/0.8558, allocations: 1.568 MB / 0.8341 GB, free: 26.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8558, allocations: 0 / 0.8341 GB, free: 26.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.8571, allocations: 0.6277 MB / 0.8347 GB, free: 25.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008797/0.858, allocations: 125.1 kB / 0.8348 GB, free: 25.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.8605, allocations: 1.07 MB / 0.8359 GB, free: 24.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.861, allocations: 0.9077 MB / 0.8368 GB, free: 24.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.8612, allocations: 42.28 kB / 0.8368 GB, free: 24.07 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.8612, allocations: 0 / 0.8368 GB, free: 24.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.02248/0.8837, allocations: 12.35 MB / 0.8489 GB, free: 17.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)