Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001535/0.001535, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.586/1.586, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.92/1.92, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001567/0.001567, allocations: 63.91 kB / 0.6729 GB, free: 5.781 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3003, allocations: 114.6 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.5294/0.8297, allocations: 4.851 MB / 0.7895 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003776/0.8336, allocations: 2.496 MB / 0.792 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/0.8339, allocations: 24.56 kB / 0.792 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.8352, allocations: 411.2 kB / 0.7924 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.8363, allocations: 440 kB / 0.7928 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.8372, allocations: 370.7 kB / 0.7932 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009078/0.8381, allocations: 0.9158 MB / 0.7941 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005783/0.8387, allocations: 354.9 kB / 0.7944 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.8391, allocations: 341.7 kB / 0.7947 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004392/0.8396, allocations: 347 kB / 0.795 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.977e-05/0.8396, allocations: 37.09 kB / 0.7951 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007675/0.8404, allocations: 400.4 kB / 0.7955 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.8406, allocations: 185.3 kB / 0.7956 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.8409, allocations: 321.3 kB / 0.7959 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009623/0.8418, allocations: 0.8781 MB / 0.7968 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.8419, allocations: 0 / 0.7968 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8419, allocations: 0 / 0.7968 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.8419, allocations: 0 / 0.7968 GB, free: 45.03 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001536/0.8434, allocations: 0.9348 MB / 0.7977 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/0.8435, allocations: 14.03 kB / 0.7977 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.8449, allocations: 204.1 kB / 0.7979 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/0.8458, allocations: 0.5322 MB / 0.7984 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.8458, allocations: 31.44 kB / 0.7985 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.783e-05/0.8459, allocations: 44.23 kB / 0.7985 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.8471, allocations: 0.8537 MB / 0.7994 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.8471, allocations: 10.34 kB / 0.7994 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.8472, allocations: 23.52 kB / 0.7994 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.8473, allocations: 66.75 kB / 0.7994 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/0.8483, allocations: 0.5671 MB / 0.8 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/0.8525, allocations: 5.648 MB / 0.8055 GB, free: 38.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/0.8533, allocations: 449.8 kB / 0.8059 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.8538, allocations: 232.8 kB / 0.8062 GB, free: 38.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/0.8538, allocations: 5.812 kB / 0.8062 GB, free: 38.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.8539, allocations: 36.14 kB / 0.8062 GB, free: 37.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 3.677e-06/0.8539, allocations: 0 / 0.8062 GB, free: 37.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.003089/0.857, allocations: 1.507 MB / 0.8077 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.857, allocations: 54.28 kB / 0.8077 GB, free: 36.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007235/0.8578, allocations: 0.4969 MB / 0.8082 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.8578, allocations: 31.14 kB / 0.8082 GB, free: 36.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.8581, allocations: 353.2 kB / 0.8086 GB, free: 36.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.8582, allocations: 113.7 kB / 0.8087 GB, free: 36.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.8584, allocations: 112.3 kB / 0.8088 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.8586, allocations: 364.2 kB / 0.8091 GB, free: 35.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.859, allocations: 196.1 kB / 0.8093 GB, free: 35.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.8596, allocations: 445.4 kB / 0.8098 GB, free: 35.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/0.8605, allocations: 0.6909 MB / 0.8104 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.8606, allocations: 1.406 kB / 0.8104 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00161/0.8622, allocations: 0.8163 MB / 0.8112 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.8622, allocations: 7.938 kB / 0.8112 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.8623, allocations: 9.844 kB / 0.8113 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005918/0.8629, allocations: 153.5 kB / 0.8114 GB, free: 34.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.8634, allocations: 133.8 kB / 0.8115 GB, free: 34.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.8666, allocations: 4.341 MB / 0.8158 GB, free: 30.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.8672, allocations: 32.5 kB / 0.8158 GB, free: 30.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.8672, allocations: 27.44 kB / 0.8158 GB, free: 30.22 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003374/0.8676, allocations: 225.6 kB / 0.816 GB, free: 30.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.8677, allocations: 58.83 kB / 0.8161 GB, free: 30.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.8689, allocations: 0.5942 MB / 0.8167 GB, free: 29.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.8689, allocations: 2.109 kB / 0.8167 GB, free: 29.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8689, allocations: 6.062 kB / 0.8167 GB, free: 29.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.8691, allocations: 164.1 kB / 0.8168 GB, free: 29.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.8692, allocations: 7.031 kB / 0.8168 GB, free: 29.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.8695, allocations: 23.86 kB / 0.8169 GB, free: 29.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/0.8696, allocations: 28.09 kB / 0.8169 GB, free: 29.58 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001573/0.8711, allocations: 0.6673 MB / 0.8175 GB, free: 29.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001146/0.8723, allocations: 0.8271 MB / 0.8184 GB, free: 28.87 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003123/0.8726, allocations: 183.8 kB / 0.8185 GB, free: 28.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004564/0.8731, allocations: 330.3 kB / 0.8188 GB, free: 28.67 MB / 0.6544 GB Notification: Performance of Backend: time 1.172e-06/0.8731, allocations: 0 / 0.8188 GB, free: 28.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002563/0.8757, allocations: 1.161 MB / 0.82 GB, free: 27.89 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002904/0.8786, allocations: 1.571 MB / 0.8215 GB, free: 26.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.02815/0.9068, allocations: 9.824 MB / 0.8311 GB, free: 26.23 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)