Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 105.4 kB / 16.29 MB, free: 6.426 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.001537/0.001537, allocations: 188.5 kB / 17.22 MB, free: 5.957 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.821/1.821, allocations: 205.1 MB / 223.1 MB, free: 12.32 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 2.097/2.097, allocations: 292.3 MB / 0.5495 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.001489/0.001489, allocations: 68.45 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3281, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.6885/1.017, allocations: 10.81 MB / 0.7946 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01542/1.032, allocations: 8.863 MB / 0.8033 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/1.035, allocations: 56.59 kB / 0.8034 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005372/1.04, allocations: 1.672 MB / 0.805 GB, free: 38.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007816/1.048, allocations: 1.53 MB / 0.8065 GB, free: 37.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003596/1.052, allocations: 0.6701 MB / 0.8071 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007103/1.059, allocations: 2.289 MB / 0.8094 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005324/1.064, allocations: 1.378 MB / 0.8107 GB, free: 35.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/1.069, allocations: 0.9828 MB / 0.8117 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003982/1.073, allocations: 1.024 MB / 0.8127 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001355/1.074, allocations: 142.8 kB / 0.8128 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004469/1.079, allocations: 0.801 MB / 0.8136 GB, free: 34.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002269/1.081, allocations: 0.5715 MB / 0.8142 GB, free: 33.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003576/1.085, allocations: 0.8828 MB / 0.815 GB, free: 33.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00772/1.092, allocations: 2.561 MB / 0.8175 GB, free: 32.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/1.093, allocations: 0 / 0.8175 GB, free: 32.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.058e-06/1.093, allocations: 1.5 kB / 0.8175 GB, free: 32.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001412/1.093, allocations: 0 / 0.8175 GB, free: 32.52 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.007342/1.1, allocations: 2.022 MB / 0.8195 GB, free: 31.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.802e-05/1.1, allocations: 14.41 kB / 0.8195 GB, free: 31.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/1.113, allocations: 2.043 MB / 0.8215 GB, free: 31.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004331/1.118, allocations: 1.129 MB / 0.8226 GB, free: 30.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/1.118, allocations: 84.58 kB / 0.8227 GB, free: 30.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006318/1.119, allocations: 115 kB / 0.8228 GB, free: 30.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008448/1.127, allocations: 2.49 MB / 0.8252 GB, free: 29.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.437e-05/1.127, allocations: 9.203 kB / 0.8252 GB, free: 29.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/1.127, allocations: 46.28 kB / 0.8253 GB, free: 29.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005322/1.128, allocations: 132 kB / 0.8254 GB, free: 29.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/1.138, allocations: 2.543 MB / 0.8279 GB, free: 28.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02495/1.163, allocations: 10.03 MB / 0.8377 GB, free: 21.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007254/1.171, allocations: 1.948 MB / 0.8396 GB, free: 20.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003092/1.174, allocations: 0.969 MB / 0.8405 GB, free: 20.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.841e-05/1.174, allocations: 10.28 kB / 0.8405 GB, free: 20.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/1.174, allocations: 43.38 kB / 0.8406 GB, free: 20.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 3.156e-06/1.174, allocations: 0 / 0.8406 GB, free: 20.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.03488/1.209, allocations: 8.702 MB / 0.8491 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/1.209, allocations: 63.92 kB / 0.8491 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003558/1.213, allocations: 1.096 MB / 0.8502 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004397/1.213, allocations: 48.2 kB / 0.8503 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008169/1.214, allocations: 0.7377 MB / 0.851 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006118/1.215, allocations: 284.6 kB / 0.8513 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008204/1.215, allocations: 202.9 kB / 0.8514 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.216, allocations: 343.9 kB / 0.8518 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003496/1.219, allocations: 1.069 MB / 0.8528 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/1.223, allocations: 1.306 MB / 0.8541 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006535/1.229, allocations: 2.379 MB / 0.8564 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/1.23, allocations: 2.312 kB / 0.8564 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009746/1.239, allocations: 3.273 MB / 0.8596 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/1.239, allocations: 9.562 kB / 0.8596 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/1.239, allocations: 7.094 kB / 0.8596 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/1.242, allocations: 0.788 MB / 0.8604 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/1.244, allocations: 420.8 kB / 0.8608 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/1.262, allocations: 15.92 MB / 0.8763 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/1.266, allocations: 294.8 kB / 0.8766 GB, free: 9.902 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003229/1.266, allocations: 47.97 kB / 0.8767 GB, free: 9.855 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001418/1.268, allocations: 405.4 kB / 0.8771 GB, free: 9.449 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00058/1.268, allocations: 142.3 kB / 0.8772 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008791/1.277, allocations: 3.203 MB / 0.8803 GB, free: 6.082 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/1.277, allocations: 11.94 kB / 0.8803 GB, free: 6.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.855e-05/1.277, allocations: 8 kB / 0.8803 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.277, allocations: 7.984 kB / 0.8803 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/1.289, allocations: 4.92 MB / 0.8852 GB, free: 1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.29, allocations: 0 / 0.8852 GB, free: 1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.291, allocations: 359.3 kB / 0.8855 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002477/1.294, allocations: 0.6949 MB / 0.8862 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/1.294, allocations: 35.95 kB / 0.8862 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/1.31, allocations: 15.53 MB / 0.9014 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.31, allocations: 4 kB / 0.9014 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008448/1.319, allocations: 3.05 MB / 0.9044 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/1.32, allocations: 379.1 kB / 0.9047 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/1.321, allocations: 23.98 kB / 0.9047 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/1.322, allocations: 291.5 kB / 0.905 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003631/1.323, allocations: 84.44 kB / 0.9051 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.323, allocations: 35.97 kB / 0.9051 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001207/1.324, allocations: 0.7366 MB / 0.9059 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/1.324, allocations: 0 / 0.9059 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002209/1.326, allocations: 432 kB / 0.9063 GB, free: 10.15 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003818/1.327, allocations: 127.7 kB / 0.9064 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009577/1.336, allocations: 3.633 MB / 0.9099 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/1.336, allocations: 0 / 0.9099 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005912/1.342, allocations: 2.367 MB / 0.9122 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/1.347, allocations: 0.5136 MB / 0.9127 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/1.358, allocations: 3.445 MB / 0.9161 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002103/1.36, allocations: 1.395 MB / 0.9175 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002049/1.363, allocations: 375.1 kB / 0.9178 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/1.363, allocations: 107.4 kB / 0.9179 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of SimCode: time 1.253e-06/1.363, allocations: 0 / 0.9179 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.0669/1.43, allocations: 30.25 MB / 0.9475 GB, free: 180 kB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)