Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.391/2.391, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.001389, allocations: 178.1 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.575/2.575, allocations: 205.4 MB / 0.5767 GB, free: 20.68 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000922/0.0009222, allocations: 94.39 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008646/0.0008648, allocations: 12.38 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2668, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006177/0.2731, allocations: 4.267 MB / 0.9032 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00477/0.2779, allocations: 2.348 MB / 0.9055 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006208/0.2786, allocations: 19.81 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.2789, allocations: 87.22 kB / 0.9056 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.2802, allocations: 342.1 kB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2814, allocations: 285.8 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.2829, allocations: 0.9835 MB / 0.9072 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.2839, allocations: 452.2 kB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006486/0.2846, allocations: 286.7 kB / 0.9079 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005105/0.2851, allocations: 322.6 kB / 0.9082 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.593e-05/0.2852, allocations: 24 kB / 0.9082 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.2859, allocations: 203.7 kB / 0.9084 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.2861, allocations: 151.5 kB / 0.9085 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2863, allocations: 137.3 kB / 0.9087 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008277/0.2871, allocations: 0.6393 MB / 0.9093 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2871, allocations: 3.938 kB / 0.9093 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2871, allocations: 0 / 0.9093 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.2872, allocations: 0 / 0.9093 GB, free: 54.81 MB / 0.6042 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.001641/0.2888, allocations: 0.8352 MB / 0.9101 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2889, allocations: 12.03 kB / 0.9101 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.2907, allocations: 199.9 kB / 0.9103 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009686/0.2917, allocations: 478.7 kB / 0.9108 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.2917, allocations: 33.36 kB / 0.9108 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.2919, allocations: 56.2 kB / 0.9109 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.2932, allocations: 0.8407 MB / 0.9117 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.2933, allocations: 7.938 kB / 0.9117 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.2934, allocations: 20 kB / 0.9117 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.2935, allocations: 68.95 kB / 0.9118 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.2948, allocations: 0.5539 MB / 0.9123 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005216/0.3, allocations: 5.658 MB / 0.9178 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3011, allocations: 458.2 kB / 0.9183 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.3015, allocations: 232.7 kB / 0.9185 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.3016, allocations: 0.5312 kB / 0.9185 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.3016, allocations: 42.56 kB / 0.9185 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 3.186e-06/0.3017, allocations: 0 / 0.9185 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.00375/0.3054, allocations: 1.501 MB / 0.92 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3055, allocations: 59.39 kB / 0.9201 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006249/0.3061, allocations: 491 kB / 0.9205 GB, free: 42.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.3062, allocations: 33.7 kB / 0.9206 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.3064, allocations: 358.8 kB / 0.9209 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.3065, allocations: 126.3 kB / 0.921 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.3066, allocations: 8 kB / 0.921 GB, free: 42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3067, allocations: 366.8 kB / 0.9214 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/0.3073, allocations: 193.2 kB / 0.9216 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.3078, allocations: 447 kB / 0.922 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/0.3084, allocations: 264 kB / 0.9222 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3084, allocations: 4 kB / 0.9222 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002113/0.3106, allocations: 0.7939 MB / 0.923 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.3106, allocations: 18.19 kB / 0.923 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.3107, allocations: 8 kB / 0.923 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009195/0.3116, allocations: 160 kB / 0.9232 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/0.3125, allocations: 119.8 kB / 0.9233 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.3158, allocations: 4.044 MB / 0.9273 GB, free: 35.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.3166, allocations: 27.98 kB / 0.9273 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.3166, allocations: 31.98 kB / 0.9273 GB, free: 35 MB / 0.6042 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.0003421/0.317, allocations: 213.7 kB / 0.9275 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3171, allocations: 55.34 kB / 0.9276 GB, free: 34.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.3186, allocations: 0.6084 MB / 0.9282 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.3187, allocations: 4 kB / 0.9282 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3187, allocations: 7.938 kB / 0.9282 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.3187, allocations: 7.984 kB / 0.9282 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.3213, allocations: 1.251 MB / 0.9294 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.3214, allocations: 3.938 kB / 0.9294 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.3219, allocations: 51.95 kB / 0.9295 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006661/0.3226, allocations: 148.3 kB / 0.9296 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.3226, allocations: 8 kB / 0.9296 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003286/0.3259, allocations: 4.013 MB / 0.9335 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.326, allocations: 4.25 kB / 0.9335 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.3275, allocations: 0.7062 MB / 0.9342 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.3278, allocations: 176.2 kB / 0.9344 GB, free: 27.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.951e-05/0.3279, allocations: 8 kB / 0.9344 GB, free: 27.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/0.3284, allocations: 23.97 kB / 0.9344 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.3285, allocations: 31.89 kB / 0.9345 GB, free: 27.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.3286, allocations: 15.94 kB / 0.9345 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004583/0.3291, allocations: 330.8 kB / 0.9348 GB, free: 26.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3291, allocations: 0 / 0.9348 GB, free: 26.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008525/0.3299, allocations: 140 kB / 0.9349 GB, free: 26.61 MB / 0.6042 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.0001696/0.3301, allocations: 107.5 kB / 0.935 GB, free: 26.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.332, allocations: 1.037 MB / 0.936 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.3321, allocations: 0 / 0.936 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.3333, allocations: 0.7385 MB / 0.9368 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.3361, allocations: 185.2 kB / 0.9369 GB, free: 24.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.3398, allocations: 1.213 MB / 0.9381 GB, free: 23.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007544/0.3407, allocations: 0.9097 MB / 0.939 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001121/0.3418, allocations: 121.3 kB / 0.9391 GB, free: 22.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.3421, allocations: 39.44 kB / 0.9392 GB, free: 22.02 MB / 0.6042 GB Notification: Performance of SimCode: time 1.423e-06/0.3421, allocations: 0 / 0.9392 GB, free: 22.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.03023/0.3724, allocations: 7.02 MB / 0.946 GB, free: 15.08 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)