Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 206.2 kB / 499.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 111.7 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 50.88 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3032, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005497/0.3088, allocations: 4.872 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003479/0.3123, allocations: 2.463 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004699/0.3128, allocations: 19.81 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.314, allocations: 362.5 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0009817/0.315, allocations: 414 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007517/0.3157, allocations: 351.1 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.3168, allocations: 1.136 MB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005977/0.3174, allocations: 351.3 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.3178, allocations: 306.6 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004306/0.3183, allocations: 346.5 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.831e-05/0.3184, allocations: 27.94 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007138/0.3191, allocations: 0.4912 MB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.3193, allocations: 175.3 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.3196, allocations: 302.3 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009062/0.3205, allocations: 0.8896 MB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3205, allocations: 4 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.11e-07/0.3205, allocations: 0 / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.075e-05/0.3205, allocations: 0 / 1.23 GB, free: 104.7 MB / 0.823 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.001385/0.3219, allocations: 0.9347 MB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.322, allocations: 11.98 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.3231, allocations: 203.9 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.3238, allocations: 498.1 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.3238, allocations: 37.36 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.3239, allocations: 44.36 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007692/0.3246, allocations: 0.8448 MB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.3247, allocations: 11.92 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.941e-05/0.3247, allocations: 20 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.589e-05/0.3248, allocations: 68.95 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006498/0.3254, allocations: 0.5656 MB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.3283, allocations: 5.658 MB / 1.239 GB, free: 95.22 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.3288, allocations: 450.3 kB / 1.239 GB, free: 94.77 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.329, allocations: 228.7 kB / 1.24 GB, free: 94.55 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3291, allocations: 4 kB / 1.24 GB, free: 94.54 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.3291, allocations: 34.56 kB / 1.24 GB, free: 94.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/0.3291, allocations: 4 kB / 1.24 GB, free: 94.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.002123/0.3312, allocations: 1.506 MB / 1.241 GB, free: 92.88 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.3313, allocations: 55.69 kB / 1.241 GB, free: 92.81 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.3316, allocations: 498.9 kB / 1.242 GB, free: 92.31 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3317, allocations: 37.64 kB / 1.242 GB, free: 92.27 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3318, allocations: 350.8 kB / 1.242 GB, free: 91.91 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.3319, allocations: 122.3 kB / 1.242 GB, free: 91.79 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.332, allocations: 110.2 kB / 1.242 GB, free: 91.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.3321, allocations: 370.8 kB / 1.243 GB, free: 91.31 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.3323, allocations: 197.2 kB / 1.243 GB, free: 91.11 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.3326, allocations: 443.3 kB / 1.243 GB, free: 90.57 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006131/0.3332, allocations: 0.6877 MB / 1.244 GB, free: 89.76 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3332, allocations: 8 kB / 1.244 GB, free: 89.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001044/0.3343, allocations: 0.8057 MB / 1.245 GB, free: 88.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3343, allocations: 8 kB / 1.245 GB, free: 88.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3343, allocations: 8 kB / 1.245 GB, free: 88.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004641/0.3348, allocations: 156.1 kB / 1.245 GB, free: 88.74 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.3352, allocations: 123.8 kB / 1.245 GB, free: 88.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.3374, allocations: 4.04 MB / 1.249 GB, free: 84.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.3379, allocations: 31.97 kB / 1.249 GB, free: 84.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.3379, allocations: 28 kB / 1.249 GB, free: 84.12 MB / 0.823 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.0002093/0.3382, allocations: 226.2 kB / 1.249 GB, free: 83.89 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/0.3382, allocations: 59.34 kB / 1.249 GB, free: 83.83 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008719/0.3391, allocations: 0.5967 MB / 1.25 GB, free: 83.21 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3391, allocations: 4 kB / 1.25 GB, free: 83.21 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3392, allocations: 4 kB / 1.25 GB, free: 83.21 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3392, allocations: 7.938 kB / 1.25 GB, free: 83.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.3407, allocations: 1.264 MB / 1.251 GB, free: 81.85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.3407, allocations: 0 / 1.251 GB, free: 81.85 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.341, allocations: 55.95 kB / 1.251 GB, free: 81.79 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/0.3414, allocations: 140.1 kB / 1.251 GB, free: 81.64 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.3414, allocations: 12.09 kB / 1.251 GB, free: 81.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.3435, allocations: 4.017 MB / 1.255 GB, free: 77.21 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3435, allocations: 7.938 kB / 1.255 GB, free: 77.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.3447, allocations: 1.592 MB / 1.257 GB, free: 75.52 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.3449, allocations: 168.3 kB / 1.257 GB, free: 75.33 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/0.345, allocations: 11.94 kB / 1.257 GB, free: 75.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.3453, allocations: 23.97 kB / 1.257 GB, free: 75.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.3454, allocations: 35.83 kB / 1.257 GB, free: 75.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3454, allocations: 20 kB / 1.257 GB, free: 75.24 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002453/0.3457, allocations: 330.9 kB / 1.257 GB, free: 74.92 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3457, allocations: 0 / 1.257 GB, free: 74.92 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006685/0.3463, allocations: 140 kB / 1.257 GB, free: 74.79 MB / 0.823 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.0001156/0.3465, allocations: 111.2 kB / 1.258 GB, free: 74.67 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.3476, allocations: 1.029 MB / 1.259 GB, free: 73.56 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3476, allocations: 0 / 1.259 GB, free: 73.56 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006186/0.3482, allocations: 0.7346 MB / 1.259 GB, free: 72.74 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000941/0.3492, allocations: 190.3 kB / 1.259 GB, free: 72.56 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3506, allocations: 1.489 MB / 1.261 GB, free: 71.01 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.3508, allocations: 0.9136 MB / 1.262 GB, free: 70.07 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003305/0.3512, allocations: 117.3 kB / 1.262 GB, free: 69.95 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.433e-05/0.3513, allocations: 39.44 kB / 1.262 GB, free: 69.91 MB / 0.823 GB Notification: Performance of SimCode: time 7.41e-07/0.3513, allocations: 0 / 1.262 GB, free: 69.91 MB / 0.823 GB Notification: Performance of Templates: time 0.01159/0.3629, allocations: 7.574 MB / 1.269 GB, free: 62.43 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)