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.001227/0.001227, 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.001161/0.001161, 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.548/1.548, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.804/1.804, allocations: 292.3 MB / 0.5495 GB, free: 17.61 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.001473/0.001474, allocations: 71.91 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2288, allocations: 114.6 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.4055/0.6343, allocations: 10.82 MB / 0.7946 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.6455, allocations: 8.864 MB / 0.8033 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.6471, allocations: 58.22 kB / 0.8033 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003929/0.6511, allocations: 1.663 MB / 0.8049 GB, free: 38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005094/0.6562, allocations: 1.531 MB / 0.8064 GB, free: 37.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.6582, allocations: 0.6698 MB / 0.8071 GB, free: 36.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003376/0.6616, allocations: 2.287 MB / 0.8093 GB, free: 35.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.6639, allocations: 1.379 MB / 0.8107 GB, free: 35.1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.6661, allocations: 0.9741 MB / 0.8116 GB, free: 34.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.6678, allocations: 1.025 MB / 0.8126 GB, free: 34.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.6681, allocations: 138.1 kB / 0.8128 GB, free: 34.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.6701, allocations: 0.7981 MB / 0.8135 GB, free: 33.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008776/0.671, allocations: 0.5746 MB / 0.8141 GB, free: 33.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.6725, allocations: 0.8863 MB / 0.815 GB, free: 33.17 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00522/0.6777, allocations: 2.534 MB / 0.8174 GB, free: 32.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6777, allocations: 1.5 kB / 0.8174 GB, free: 32.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6777, allocations: 0 / 0.8174 GB, free: 32.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.115e-05/0.6778, allocations: 0.8438 kB / 0.8174 GB, free: 32.29 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.00397/0.6818, allocations: 2.022 MB / 0.8194 GB, free: 30.99 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6818, allocations: 10.95 kB / 0.8194 GB, free: 30.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.6936, allocations: 2.047 MB / 0.8214 GB, free: 30.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/0.6965, allocations: 1.123 MB / 0.8225 GB, free: 30.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.6966, allocations: 89.16 kB / 0.8226 GB, free: 30.15 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.6968, allocations: 117.6 kB / 0.8227 GB, free: 30.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006014/0.7029, allocations: 2.483 MB / 0.8251 GB, free: 29.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.7029, allocations: 11.86 kB / 0.8251 GB, free: 29.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.7031, allocations: 50.08 kB / 0.8252 GB, free: 29.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004135/0.7035, allocations: 129 kB / 0.8253 GB, free: 29.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007813/0.7114, allocations: 2.543 MB / 0.8278 GB, free: 28.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/0.7256, allocations: 10.07 MB / 0.8376 GB, free: 21.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006126/0.7318, allocations: 1.957 MB / 0.8395 GB, free: 20.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/0.7345, allocations: 0.9706 MB / 0.8405 GB, free: 20.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.7345, allocations: 10.48 kB / 0.8405 GB, free: 20.06 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.7346, allocations: 37.78 kB / 0.8405 GB, free: 20.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.7346, allocations: 4 kB / 0.8405 GB, free: 20.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.03078/0.7654, allocations: 8.703 MB / 0.849 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.7655, allocations: 64.59 kB / 0.8491 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.767, allocations: 1.099 MB / 0.8502 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.7672, allocations: 41.23 kB / 0.8502 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000406/0.7676, allocations: 0.7375 MB / 0.8509 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.7679, allocations: 283.7 kB / 0.8512 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.7682, allocations: 199.2 kB / 0.8514 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.7683, allocations: 345.9 kB / 0.8517 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/0.7713, allocations: 1.073 MB / 0.8528 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003102/0.7744, allocations: 1.302 MB / 0.854 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006005/0.7804, allocations: 2.387 MB / 0.8564 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.7805, allocations: 2.906 kB / 0.8564 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008874/0.7893, allocations: 3.273 MB / 0.8596 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.7894, allocations: 7.656 kB / 0.8596 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.7894, allocations: 9.781 kB / 0.8596 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/0.7921, allocations: 0.7955 MB / 0.8604 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.7941, allocations: 416.5 kB / 0.8608 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/0.8092, allocations: 15.93 MB / 0.8763 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/0.8121, allocations: 295.8 kB / 0.8766 GB, free: 9.844 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.8124, allocations: 53.69 kB / 0.8767 GB, free: 9.793 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.001062/0.8134, allocations: 406 kB / 0.877 GB, free: 9.387 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.8138, allocations: 142.3 kB / 0.8772 GB, free: 9.246 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009456/0.8232, allocations: 3.201 MB / 0.8803 GB, free: 6.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/0.8233, allocations: 11.94 kB / 0.8803 GB, free: 6.008 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/0.8233, allocations: 8 kB / 0.8803 GB, free: 6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.8234, allocations: 3.984 kB / 0.8803 GB, free: 5.996 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.8363, allocations: 4.912 MB / 0.8851 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.8364, allocations: 6.5 kB / 0.8851 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/0.8381, allocations: 359.7 kB / 0.8855 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/0.8408, allocations: 0.7013 MB / 0.8862 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.8409, allocations: 31.97 kB / 0.8862 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/0.8571, allocations: 15.54 MB / 0.9014 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.8572, allocations: 12 kB / 0.9014 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00859/0.8658, allocations: 3.034 MB / 0.9043 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.8669, allocations: 383.1 kB / 0.9047 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/0.8671, allocations: 20 kB / 0.9047 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.8691, allocations: 299.4 kB / 0.905 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.8694, allocations: 83.61 kB / 0.9051 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.8695, allocations: 35.97 kB / 0.9051 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00101/0.8705, allocations: 0.7405 MB / 0.9058 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.683e-06/0.8705, allocations: 0 / 0.9058 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00176/0.8723, allocations: 439.9 kB / 0.9063 GB, free: 10.07 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.0002567/0.8726, allocations: 119.2 kB / 0.9064 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009082/0.8816, allocations: 3.762 MB / 0.9101 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.8817, allocations: 0 / 0.9101 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005213/0.8869, allocations: 2.371 MB / 0.9124 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/0.8894, allocations: 0.517 MB / 0.9129 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007705/0.8972, allocations: 3.588 MB / 0.9164 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.8982, allocations: 1.384 MB / 0.9177 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/0.8988, allocations: 131.3 kB / 0.9179 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/0.8988, allocations: 4 kB / 0.9179 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of Templates: time 0.07677/0.9756, allocations: 74.98 MB / 0.9911 GB, free: 3.125 MB / 0.7794 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)