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.001188/0.001188, allocations: 100.9 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.00114/0.00114, allocations: 189.8 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.439/1.439, 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.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.001388/0.001388, allocations: 63.91 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2545, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.4708/0.7253, allocations: 4.846 MB / 0.7888 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003611/0.729, allocations: 2.498 MB / 0.7912 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003021/0.7293, allocations: 23.25 kB / 0.7912 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.7304, allocations: 402.8 kB / 0.7916 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009264/0.7313, allocations: 442.1 kB / 0.792 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.7321, allocations: 376.3 kB / 0.7924 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000836/0.733, allocations: 0.916 MB / 0.7933 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005327/0.7335, allocations: 356.6 kB / 0.7936 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.7339, allocations: 339.5 kB / 0.794 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.7342, allocations: 347.2 kB / 0.7943 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.7343, allocations: 40.06 kB / 0.7943 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005984/0.7349, allocations: 395.8 kB / 0.7947 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.7351, allocations: 183.3 kB / 0.7949 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.7354, allocations: 315.9 kB / 0.7952 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007766/0.7361, allocations: 0.8761 MB / 0.796 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.7362, allocations: 0 / 0.796 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7362, allocations: 0 / 0.796 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.7362, allocations: 0 / 0.796 GB, free: 44.98 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.001195/0.7374, allocations: 0.9264 MB / 0.7969 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.7374, allocations: 12.41 kB / 0.797 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.7386, allocations: 211 kB / 0.7972 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.7393, allocations: 489.1 kB / 0.7976 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.7393, allocations: 37.78 kB / 0.7977 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.7394, allocations: 48.38 kB / 0.7977 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009646/0.7403, allocations: 0.8466 MB / 0.7985 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.7404, allocations: 7.781 kB / 0.7985 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.7404, allocations: 25.05 kB / 0.7986 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.64e-05/0.7405, allocations: 65.19 kB / 0.7986 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007362/0.7413, allocations: 0.5697 MB / 0.7992 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/0.7447, allocations: 5.653 MB / 0.8047 GB, free: 38.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.7454, allocations: 457.1 kB / 0.8051 GB, free: 38.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.7458, allocations: 224.1 kB / 0.8053 GB, free: 38.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.7458, allocations: 3.781 kB / 0.8054 GB, free: 38.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.7458, allocations: 36.77 kB / 0.8054 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.7458, allocations: 0 / 0.8054 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002566/0.7484, allocations: 1.51 MB / 0.8069 GB, free: 37.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.7484, allocations: 59.25 kB / 0.8069 GB, free: 37.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.749, allocations: 0.4936 MB / 0.8074 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.7491, allocations: 31.08 kB / 0.8074 GB, free: 36.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.7493, allocations: 352.6 kB / 0.8078 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.7494, allocations: 113.4 kB / 0.8079 GB, free: 36.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.7496, allocations: 111.4 kB / 0.808 GB, free: 36.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7497, allocations: 367 kB / 0.8083 GB, free: 36.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.75, allocations: 200.7 kB / 0.8085 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.7505, allocations: 444.8 kB / 0.8089 GB, free: 35.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008476/0.7514, allocations: 0.6851 MB / 0.8096 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.7514, allocations: 2.625 kB / 0.8096 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001434/0.7529, allocations: 0.816 MB / 0.8104 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.7529, allocations: 13.44 kB / 0.8104 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.7529, allocations: 8.672 kB / 0.8104 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/0.7534, allocations: 157.1 kB / 0.8106 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.7539, allocations: 121.5 kB / 0.8107 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.7566, allocations: 4.353 MB / 0.815 GB, free: 30.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.757, allocations: 36.97 kB / 0.815 GB, free: 30.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.7571, allocations: 30.39 kB / 0.815 GB, free: 30.33 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.000253/0.7573, allocations: 217.7 kB / 0.8152 GB, free: 30.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.7574, allocations: 57.97 kB / 0.8153 GB, free: 30.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.7585, allocations: 0.6032 MB / 0.8159 GB, free: 29.85 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.7585, allocations: 4.281 kB / 0.8159 GB, free: 29.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7585, allocations: 1.781 kB / 0.8159 GB, free: 29.85 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.7585, allocations: 1.406 kB / 0.8159 GB, free: 29.85 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.7604, allocations: 1.252 MB / 0.8171 GB, free: 29.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.7604, allocations: 1.969 kB / 0.8171 GB, free: 29.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.7607, allocations: 59.09 kB / 0.8172 GB, free: 29.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00039/0.7611, allocations: 139 kB / 0.8173 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.7611, allocations: 15.45 kB / 0.8173 GB, free: 29.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.7637, allocations: 4.338 MB / 0.8215 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7637, allocations: 2.125 kB / 0.8215 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.7648, allocations: 0.709 MB / 0.8222 GB, free: 24.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.765, allocations: 165.3 kB / 0.8224 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.765, allocations: 8.391 kB / 0.8224 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.7653, allocations: 24.17 kB / 0.8224 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.7654, allocations: 43.67 kB / 0.8225 GB, free: 24.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.7654, allocations: 8.531 kB / 0.8225 GB, free: 24.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003915/0.7658, allocations: 333.8 kB / 0.8228 GB, free: 24.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7658, allocations: 0 / 0.8228 GB, free: 24.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007469/0.7666, allocations: 138.1 kB / 0.8229 GB, free: 24.04 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0001432/0.7667, allocations: 112 kB / 0.823 GB, free: 23.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.7682, allocations: 1.078 MB / 0.8241 GB, free: 23.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7683, allocations: 3.938 kB / 0.8241 GB, free: 23.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008867/0.7692, allocations: 0.7346 MB / 0.8248 GB, free: 22.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.7703, allocations: 204.4 kB / 0.825 GB, free: 22.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.7723, allocations: 1.089 MB / 0.8261 GB, free: 21.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.7728, allocations: 0.8987 MB / 0.8269 GB, free: 21.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.7729, allocations: 52.97 kB / 0.827 GB, free: 21.19 MB / 0.6544 GB Notification: Performance of SimCode: time 7.42e-07/0.7729, allocations: 0 / 0.827 GB, free: 21.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.02745/0.8004, allocations: 17.98 MB / 0.8445 GB, free: 16.49 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)