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.0008968/0.000897, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001002/0.001002, allocations: 172.7 kB / 15.95 MB, free: 208 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.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.666/1.666, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005048/0.0005049, allocations: 16.19 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2588, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005306/0.2642, allocations: 4.264 MB / 0.7915 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003575/0.2678, allocations: 2.352 MB / 0.7938 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.2682, allocations: 19.81 kB / 0.7938 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.2684, allocations: 87.22 kB / 0.7939 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000885/0.2693, allocations: 342.1 kB / 0.7942 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.2701, allocations: 279 kB / 0.7944 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009202/0.271, allocations: 0.9719 MB / 0.7954 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007167/0.2717, allocations: 420.3 kB / 0.7958 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.2721, allocations: 290.7 kB / 0.7961 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.2725, allocations: 326.6 kB / 0.7964 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.2726, allocations: 20 kB / 0.7964 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.273, allocations: 199.7 kB / 0.7966 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.2732, allocations: 163.4 kB / 0.7967 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.2734, allocations: 137.3 kB / 0.7969 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006774/0.2741, allocations: 0.6353 MB / 0.7975 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2741, allocations: 0 / 0.7975 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2741, allocations: 0 / 0.7975 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.2741, allocations: 4 kB / 0.7975 GB, free: 1.402 MB / 0.6075 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.001185/0.2753, allocations: 0.8333 MB / 0.7983 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2754, allocations: 12.03 kB / 0.7983 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.2765, allocations: 210.9 kB / 0.7985 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.2772, allocations: 465.4 kB / 0.799 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.2772, allocations: 36.98 kB / 0.799 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/0.2773, allocations: 40 kB / 0.799 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2784, allocations: 0.8403 MB / 0.7999 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.2784, allocations: 11.84 kB / 0.7999 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.2785, allocations: 27.97 kB / 0.7999 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.032e-05/0.2786, allocations: 60.97 kB / 0.8 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007711/0.2794, allocations: 0.5694 MB / 0.8005 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003922/0.2833, allocations: 5.643 MB / 0.806 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.2839, allocations: 466.2 kB / 0.8065 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.2842, allocations: 224.7 kB / 0.8067 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.2843, allocations: 4 kB / 0.8067 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.2843, allocations: 38.56 kB / 0.8067 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.2843, allocations: 0 / 0.8067 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002347/0.2867, allocations: 1.51 MB / 0.8082 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.2867, allocations: 55.41 kB / 0.8083 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.2872, allocations: 490.9 kB / 0.8087 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.2872, allocations: 37.64 kB / 0.8088 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.2875, allocations: 354.8 kB / 0.8091 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-05/0.2876, allocations: 118.3 kB / 0.8092 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.2876, allocations: 12 kB / 0.8092 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2878, allocations: 366.8 kB / 0.8096 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.288, allocations: 197.2 kB / 0.8098 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.2885, allocations: 443 kB / 0.8102 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.2888, allocations: 259.8 kB / 0.8104 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2888, allocations: 0 / 0.8104 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001146/0.29, allocations: 0.8103 MB / 0.8112 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.29, allocations: 11.98 kB / 0.8112 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.29, allocations: 8 kB / 0.8112 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004641/0.2905, allocations: 152.9 kB / 0.8114 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.2909, allocations: 123.7 kB / 0.8115 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/0.2941, allocations: 4.036 MB / 0.8154 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.2945, allocations: 31.97 kB / 0.8155 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.2945, allocations: 28 kB / 0.8155 GB, free: 13.61 MB / 0.6387 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.2948, allocations: 209.7 kB / 0.8157 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.2949, allocations: 63.19 kB / 0.8158 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009699/0.2959, allocations: 0.6047 MB / 0.8164 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2959, allocations: 4 kB / 0.8164 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2959, allocations: 3.953 kB / 0.8164 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2959, allocations: 0 / 0.8164 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.2975, allocations: 1.253 MB / 0.8176 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.2976, allocations: 3.984 kB / 0.8176 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.2978, allocations: 64.06 kB / 0.8177 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003566/0.2982, allocations: 144.1 kB / 0.8178 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.2982, allocations: 12 kB / 0.8178 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.3011, allocations: 4.025 MB / 0.8217 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3011, allocations: 4.031 kB / 0.8217 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009178/0.302, allocations: 0.6999 MB / 0.8224 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.3022, allocations: 168.4 kB / 0.8226 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.3023, allocations: 8 kB / 0.8226 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3025, allocations: 27.97 kB / 0.8226 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.3026, allocations: 31.89 kB / 0.8226 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.3026, allocations: 12 kB / 0.8227 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003248/0.3029, allocations: 326.9 kB / 0.823 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3029, allocations: 0 / 0.823 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006606/0.3036, allocations: 140 kB / 0.8231 GB, free: 5.215 MB / 0.6387 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002273/0.3038, allocations: 121.4 kB / 0.8232 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.3052, allocations: 1.025 MB / 0.8242 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3052, allocations: 0 / 0.8242 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007669/0.306, allocations: 0.7419 MB / 0.8249 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.3068, allocations: 186.5 kB / 0.8251 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.3084, allocations: 1.217 MB / 0.8263 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.3089, allocations: 0.9059 MB / 0.8272 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003269/0.3092, allocations: 121.3 kB / 0.8273 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.966e-05/0.3093, allocations: 39.44 kB / 0.8273 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.3093, allocations: 0 / 0.8273 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of Templates: time 0.01169/0.321, allocations: 7.025 MB / 0.8342 GB, free: 9.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: