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.0009113/0.0009115, allocations: 100.1 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.0009359/0.0009359, 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.372/1.372, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.757/1.757, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005033/0.0005036, allocations: 14.28 kB / 0.6736 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004748/0.2419, allocations: 4.112 MB / 0.7911 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.2464, allocations: 2.326 MB / 0.7934 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006163/0.2471, allocations: 31.69 kB / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.2474, allocations: 67.47 kB / 0.7935 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.2488, allocations: 362.9 kB / 0.7939 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.25, allocations: 283.4 kB / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.2513, allocations: 0.5874 MB / 0.7947 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009268/0.2522, allocations: 423.8 kB / 0.7951 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006118/0.2528, allocations: 266.9 kB / 0.7954 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006402/0.2535, allocations: 278.9 kB / 0.7956 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.2536, allocations: 23.94 kB / 0.7956 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.254, allocations: 143.8 kB / 0.7958 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.2542, allocations: 135.6 kB / 0.7959 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.2544, allocations: 145.3 kB / 0.796 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006568/0.255, allocations: 0.6002 MB / 0.7966 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2551, allocations: 0 / 0.7966 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2551, allocations: 0 / 0.7966 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.549e-05/0.2551, allocations: 0 / 0.7966 GB, free: 2.172 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.001355/0.2565, allocations: 0.8178 MB / 0.7974 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2565, allocations: 8.031 kB / 0.7974 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.2575, allocations: 178.9 kB / 0.7976 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.2583, allocations: 477.4 kB / 0.7981 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.2583, allocations: 32.94 kB / 0.7981 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.2584, allocations: 43.98 kB / 0.7981 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.2595, allocations: 0.8481 MB / 0.799 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.2595, allocations: 3.938 kB / 0.799 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/0.2596, allocations: 23.98 kB / 0.799 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.47e-05/0.2597, allocations: 68.95 kB / 0.7991 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008642/0.2605, allocations: 0.5617 MB / 0.7996 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/0.2651, allocations: 5.65 MB / 0.8051 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.2657, allocations: 458.2 kB / 0.8056 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.2657, allocations: 4 kB / 0.8056 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.2658, allocations: 38.56 kB / 0.8056 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.374e-06/0.2658, allocations: 0 / 0.8056 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002554/0.2683, allocations: 1.498 MB / 0.8071 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.2684, allocations: 59.41 kB / 0.8071 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.269, allocations: 494.9 kB / 0.8076 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.269, allocations: 33.7 kB / 0.8076 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.2692, allocations: 354.8 kB / 0.808 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.2694, allocations: 122.3 kB / 0.8081 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.2694, allocations: 12 kB / 0.8081 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2695, allocations: 366.7 kB / 0.8084 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.2698, allocations: 193.2 kB / 0.8086 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/0.2703, allocations: 443 kB / 0.8091 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.2706, allocations: 259.8 kB / 0.8093 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2706, allocations: 0 / 0.8093 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001274/0.2719, allocations: 0.8105 MB / 0.8101 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.272, allocations: 8 kB / 0.8101 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.272, allocations: 8 kB / 0.8101 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005106/0.2725, allocations: 156.5 kB / 0.8103 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.2729, allocations: 123.8 kB / 0.8104 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.2762, allocations: 4.064 MB / 0.8143 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.2766, allocations: 31.97 kB / 0.8144 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.2766, allocations: 31.98 kB / 0.8144 GB, free: 14.62 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.000245/0.2769, allocations: 209.6 kB / 0.8146 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.277, allocations: 63.25 kB / 0.8147 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009258/0.2779, allocations: 0.601 MB / 0.8152 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.2779, allocations: 4 kB / 0.8153 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2779, allocations: 7.938 kB / 0.8153 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2779, allocations: 7.938 kB / 0.8153 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.2797, allocations: 1.246 MB / 0.8165 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2797, allocations: 0 / 0.8165 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.2799, allocations: 55.95 kB / 0.8165 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003829/0.2803, allocations: 152.3 kB / 0.8167 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.2804, allocations: 8 kB / 0.8167 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/0.2835, allocations: 4.052 MB / 0.8206 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2835, allocations: 0 / 0.8206 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.2846, allocations: 0.7858 MB / 0.8214 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.2849, allocations: 168.4 kB / 0.8216 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.285, allocations: 8 kB / 0.8216 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.2853, allocations: 19.97 kB / 0.8216 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.2854, allocations: 31.97 kB / 0.8216 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.2854, allocations: 12 kB / 0.8216 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003915/0.2858, allocations: 330.8 kB / 0.822 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2858, allocations: 0 / 0.822 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007298/0.2866, allocations: 144 kB / 0.8221 GB, free: 6.082 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.0001701/0.2867, allocations: 115.2 kB / 0.8222 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.2885, allocations: 1.037 MB / 0.8232 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2885, allocations: 0 / 0.8232 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008324/0.2893, allocations: 0.7308 MB / 0.8239 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/0.2903, allocations: 188.5 kB / 0.8241 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.292, allocations: 1.217 MB / 0.8253 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.2925, allocations: 0.9142 MB / 0.8262 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003371/0.2929, allocations: 121.3 kB / 0.8263 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.293, allocations: 35.44 kB / 0.8263 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.293, allocations: 4 kB / 0.8263 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of Templates: time 0.0133/0.3063, allocations: 7.017 MB / 0.8332 GB, free: 10.55 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: