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.001355/0.001356, allocations: 111.3 kB / 15.99 MB, free: 5.91 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.00154/0.00154, allocations: 191.4 kB / 16.91 MB, free: 5.758 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.407/1.407, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.813/1.813, allocations: 292.3 MB / 0.5492 GB, free: 17.55 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.001382/0.001383, allocations: 63.91 kB / 0.6716 GB, free: 6.918 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2864, allocations: 114.6 MB / 0.7835 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.4578/0.7443, allocations: 4.873 MB / 0.7883 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003271/0.7476, allocations: 2.481 MB / 0.7907 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.748, allocations: 19.56 kB / 0.7907 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.749, allocations: 370.6 kB / 0.7911 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009596/0.75, allocations: 404.1 kB / 0.7915 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007894/0.7508, allocations: 347.2 kB / 0.7918 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000893/0.7517, allocations: 0.9158 MB / 0.7927 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005948/0.7523, allocations: 401.6 kB / 0.7931 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.7527, allocations: 348.2 kB / 0.7934 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.7531, allocations: 351.3 kB / 0.7937 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.7532, allocations: 39.59 kB / 0.7938 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007229/0.7539, allocations: 403.3 kB / 0.7942 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.7541, allocations: 181.9 kB / 0.7943 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.7544, allocations: 323.8 kB / 0.7946 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006987/0.7551, allocations: 0.6622 MB / 0.7953 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7552, allocations: 0 / 0.7953 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7552, allocations: 1.125 kB / 0.7953 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.7552, allocations: 0 / 0.7953 GB, free: 45.44 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.001336/0.7565, allocations: 0.9434 MB / 0.7962 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.7566, allocations: 10.69 kB / 0.7962 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.7579, allocations: 208.2 kB / 0.7964 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008195/0.7587, allocations: 489 kB / 0.7969 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.7587, allocations: 33.17 kB / 0.7969 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/0.7588, allocations: 49.27 kB / 0.797 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.7601, allocations: 0.846 MB / 0.7978 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.7602, allocations: 12.7 kB / 0.7978 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.7602, allocations: 24.53 kB / 0.7978 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.7604, allocations: 69.73 kB / 0.7979 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007929/0.7612, allocations: 0.561 MB / 0.7984 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003604/0.7648, allocations: 5.66 MB / 0.804 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.7655, allocations: 465 kB / 0.8044 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.7658, allocations: 226.7 kB / 0.8046 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.7659, allocations: 2.5 kB / 0.8046 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.7659, allocations: 36.48 kB / 0.8047 GB, free: 38.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/0.7659, allocations: 4 kB / 0.8047 GB, free: 38.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002759/0.7687, allocations: 1.503 MB / 0.8061 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.7687, allocations: 55.47 kB / 0.8062 GB, free: 37.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/0.7694, allocations: 0.4931 MB / 0.8067 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.7694, allocations: 31.3 kB / 0.8067 GB, free: 37.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.7696, allocations: 349.4 kB / 0.807 GB, free: 37.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.151e-05/0.7697, allocations: 116.9 kB / 0.8071 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.7699, allocations: 115.6 kB / 0.8072 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.77, allocations: 365 kB / 0.8076 GB, free: 36.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.7703, allocations: 196.3 kB / 0.8078 GB, free: 36.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.7708, allocations: 444.6 kB / 0.8082 GB, free: 36.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008229/0.7716, allocations: 0.6873 MB / 0.8089 GB, free: 35.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7716, allocations: 12.44 kB / 0.8089 GB, free: 35.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001356/0.773, allocations: 0.8005 MB / 0.8097 GB, free: 35.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.773, allocations: 9.094 kB / 0.8097 GB, free: 35.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.7731, allocations: 12.75 kB / 0.8097 GB, free: 35.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005343/0.7736, allocations: 157.1 kB / 0.8098 GB, free: 35.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.7741, allocations: 121.8 kB / 0.81 GB, free: 35.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.777, allocations: 4.344 MB / 0.8142 GB, free: 30.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.7775, allocations: 34.8 kB / 0.8142 GB, free: 30.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.7776, allocations: 27.25 kB / 0.8143 GB, free: 30.86 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.0003291/0.7779, allocations: 221.9 kB / 0.8145 GB, free: 30.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.778, allocations: 66.14 kB / 0.8145 GB, free: 30.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.7792, allocations: 0.5998 MB / 0.8151 GB, free: 30.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.7792, allocations: 3.938 kB / 0.8151 GB, free: 30.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7792, allocations: 2.078 kB / 0.8151 GB, free: 30.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.7792, allocations: 2.078 kB / 0.8151 GB, free: 30.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.7811, allocations: 1.252 MB / 0.8164 GB, free: 29.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.7812, allocations: 4.938 kB / 0.8164 GB, free: 29.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.7814, allocations: 59.92 kB / 0.8164 GB, free: 29.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004318/0.7819, allocations: 140.1 kB / 0.8165 GB, free: 29.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.7819, allocations: 10.56 kB / 0.8166 GB, free: 29.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.7845, allocations: 4.336 MB / 0.8208 GB, free: 25.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.7845, allocations: 4.844 kB / 0.8208 GB, free: 25.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.7856, allocations: 0.7081 MB / 0.8215 GB, free: 24.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.7858, allocations: 168.2 kB / 0.8216 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.7859, allocations: 13.97 kB / 0.8217 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.7862, allocations: 27.06 kB / 0.8217 GB, free: 24.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.7863, allocations: 31.09 kB / 0.8217 GB, free: 24.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.7863, allocations: 7.812 kB / 0.8217 GB, free: 24.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003919/0.7867, allocations: 334.7 kB / 0.822 GB, free: 24.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.32e-07/0.7867, allocations: 0 / 0.822 GB, free: 24.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007163/0.7874, allocations: 143.1 kB / 0.8222 GB, free: 24.56 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.0001391/0.7876, allocations: 116.2 kB / 0.8223 GB, free: 24.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.7891, allocations: 1.08 MB / 0.8233 GB, free: 23.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7891, allocations: 1.062 kB / 0.8233 GB, free: 23.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.7899, allocations: 0.7345 MB / 0.8241 GB, free: 23.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.791, allocations: 198 kB / 0.8243 GB, free: 23.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.793, allocations: 1.319 MB / 0.8255 GB, free: 22.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.7935, allocations: 0.9061 MB / 0.8264 GB, free: 21.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.7936, allocations: 43.86 kB / 0.8265 GB, free: 21.49 MB / 0.6544 GB Notification: Performance of SimCode: time 1.182e-06/0.7936, allocations: 0 / 0.8265 GB, free: 21.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.02873/0.8224, allocations: 17.97 MB / 0.844 GB, free: 16.9 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)