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.0008899/0.0008899, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009271/0.0009272, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.679/1.679, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004571/0.0004572, allocations: 13.34 kB / 0.6736 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.267, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01035/0.2774, allocations: 9.235 MB / 0.7961 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.2897, allocations: 8.047 MB / 0.804 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.2915, allocations: 47.69 kB / 0.804 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008742/0.2924, allocations: 254.3 kB / 0.8043 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005043/0.2974, allocations: 1.258 MB / 0.8055 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.2993, allocations: 479.9 kB / 0.806 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003008/0.3023, allocations: 1.386 MB / 0.8073 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003318/0.3057, allocations: 1.782 MB / 0.8091 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/0.3074, allocations: 0.7161 MB / 0.8098 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.3085, allocations: 0.7431 MB / 0.8105 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.3086, allocations: 60 kB / 0.8105 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3097, allocations: 403.4 kB / 0.8109 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.3102, allocations: 442.6 kB / 0.8114 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.3105, allocations: 340.8 kB / 0.8117 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.3125, allocations: 1.917 MB / 0.8135 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3126, allocations: 0 / 0.8135 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3126, allocations: 4 kB / 0.8136 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.625e-05/0.3126, allocations: 0 / 0.8136 GB, free: 0.7617 MB / 0.6231 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.002982/0.3156, allocations: 1.714 MB / 0.8152 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3157, allocations: 8.031 kB / 0.8152 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.3263, allocations: 2.123 MB / 0.8173 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.329, allocations: 1.072 MB / 0.8184 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-05/0.3291, allocations: 90.31 kB / 0.8184 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.3294, allocations: 120 kB / 0.8186 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005495/0.3349, allocations: 2.482 MB / 0.821 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/0.335, allocations: 11.72 kB / 0.821 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.3351, allocations: 55.98 kB / 0.821 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003563/0.3355, allocations: 126.1 kB / 0.8212 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007346/0.3428, allocations: 2.58 MB / 0.8237 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.3596, allocations: 10.12 MB / 0.8336 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006471/0.3661, allocations: 1.995 MB / 0.8355 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.855e-05/0.3662, allocations: 8.438 kB / 0.8355 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.3663, allocations: 35 kB / 0.8356 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.675e-06/0.3663, allocations: 4 kB / 0.8356 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.03133/0.3976, allocations: 8.77 MB / 0.8441 GB, free: 420 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.3978, allocations: 60.06 kB / 0.8442 GB, free: 348 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.4003, allocations: 1.085 MB / 0.8452 GB, free: 15.24 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000149/0.4005, allocations: 37.7 kB / 0.8453 GB, free: 15.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008273/0.4013, allocations: 0.7341 MB / 0.846 GB, free: 14.45 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004365/0.4017, allocations: 283.9 kB / 0.8463 GB, free: 14.17 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.4019, allocations: 20 kB / 0.8463 GB, free: 14.15 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.4021, allocations: 341.9 kB / 0.8466 GB, free: 13.81 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/0.405, allocations: 1.099 MB / 0.8477 GB, free: 12.71 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003454/0.4085, allocations: 1.313 MB / 0.849 GB, free: 11.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.4115, allocations: 1.15 MB / 0.8501 GB, free: 10.15 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.4116, allocations: 4 kB / 0.8501 GB, free: 10.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009433/0.421, allocations: 3.304 MB / 0.8533 GB, free: 6.809 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.4211, allocations: 11.94 kB / 0.8533 GB, free: 6.797 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.4211, allocations: 8 kB / 0.8533 GB, free: 6.789 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/0.424, allocations: 0.7917 MB / 0.8541 GB, free: 5.973 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.4261, allocations: 435.2 kB / 0.8545 GB, free: 5.547 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/0.4423, allocations: 14.97 MB / 0.8691 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/0.4449, allocations: 307.6 kB / 0.8694 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.4452, allocations: 47.97 kB / 0.8695 GB, free: 5.16 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001107/0.4463, allocations: 402 kB / 0.8699 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/0.4468, allocations: 142.3 kB / 0.87 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008738/0.4555, allocations: 3.241 MB / 0.8732 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.4556, allocations: 11.95 kB / 0.8732 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.606e-05/0.4556, allocations: 8 kB / 0.8732 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.4556, allocations: 3.984 kB / 0.8732 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.468, allocations: 4.936 MB / 0.878 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.468, allocations: 4 kB / 0.878 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.4697, allocations: 363.7 kB / 0.8784 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002477/0.4722, allocations: 0.6977 MB / 0.879 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.4723, allocations: 31.97 kB / 0.8791 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/0.4879, allocations: 14.62 MB / 0.8933 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.488, allocations: 4 kB / 0.8934 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008681/0.4967, allocations: 3.229 MB / 0.8965 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.4978, allocations: 383.2 kB / 0.8969 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004105/0.4982, allocations: 15.95 kB / 0.8969 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/0.5002, allocations: 303.5 kB / 0.8972 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/0.5005, allocations: 80.48 kB / 0.8973 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.5006, allocations: 35.97 kB / 0.8973 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001239/0.5019, allocations: 0.7288 MB / 0.898 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5019, allocations: 0 / 0.898 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001807/0.5037, allocations: 432 kB / 0.8984 GB, free: 6.09 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003106/0.504, allocations: 126.6 kB / 0.8985 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008873/0.5129, allocations: 3.664 MB / 0.9021 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/0.513, allocations: 0 / 0.9021 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005099/0.5181, allocations: 2.391 MB / 0.9044 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/0.5206, allocations: 474.9 kB / 0.9049 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00855/0.5292, allocations: 3.938 MB / 0.9087 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.5309, allocations: 1.419 MB / 0.9101 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001854/0.5328, allocations: 375.9 kB / 0.9105 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.5332, allocations: 107.4 kB / 0.9106 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of SimCode: time 1.553e-06/0.5332, allocations: 0 / 0.9106 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of Templates: time 0.5061/1.039, allocations: 28.1 MB / 0.938 GB, free: 121.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: