Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.348/2.348, allocations: 391.2 MB / 407 MB, free: 10.9 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.001169/0.001169, allocations: 186.4 kB / 499.1 MB, free: 4.688 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.603/1.603, allocations: 222.9 MB / 0.7948 GB, free: 15.8 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.001019/0.001019, allocations: 114.9 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 49.2 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2983, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005325/0.3037, allocations: 4.917 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003588/0.3073, allocations: 2.491 MB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.3077, allocations: 23.81 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.3088, allocations: 366.5 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008475/0.3096, allocations: 414 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.3105, allocations: 375 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0007558/0.3112, allocations: 1.136 MB / 1.228 GB, free: 107.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.3117, allocations: 359.2 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.312, allocations: 310.6 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.3124, allocations: 358.4 kB / 1.229 GB, free: 106.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.3124, allocations: 24 kB / 1.229 GB, free: 106.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006215/0.313, allocations: 495 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.3132, allocations: 175.4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.3134, allocations: 306.2 kB / 1.23 GB, free: 105.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0007464/0.3142, allocations: 0.8974 MB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3142, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3142, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3142, allocations: 3.938 kB / 1.23 GB, free: 104.6 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.001536/0.3158, allocations: 0.9502 MB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.3158, allocations: 11.98 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.317, allocations: 195.9 kB / 1.232 GB, free: 103.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007387/0.3178, allocations: 0.5021 MB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.3178, allocations: 33.38 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.3179, allocations: 48.3 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.3189, allocations: 0.8487 MB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.3189, allocations: 11.84 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/0.319, allocations: 23.98 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.585e-05/0.3191, allocations: 64.95 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.3198, allocations: 0.5695 MB / 1.234 GB, free: 101.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.3233, allocations: 5.651 MB / 1.239 GB, free: 95.07 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.3238, allocations: 450.8 kB / 1.24 GB, free: 94.62 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.3241, allocations: 236.7 kB / 1.24 GB, free: 94.39 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.3241, allocations: 4 kB / 1.24 GB, free: 94.39 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.3241, allocations: 30.56 kB / 1.24 GB, free: 94.35 MB / 0.823 GB Notification: Performance of pre-optimization done (n=32): time 2.946e-06/0.3242, allocations: 4 kB / 1.24 GB, free: 94.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.002404/0.3266, allocations: 1.503 MB / 1.241 GB, free: 92.73 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.3266, allocations: 59.67 kB / 1.241 GB, free: 92.66 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.3271, allocations: 0.5028 MB / 1.242 GB, free: 92.14 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.3271, allocations: 33.7 kB / 1.242 GB, free: 92.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.3273, allocations: 358.8 kB / 1.242 GB, free: 91.74 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.3274, allocations: 118.3 kB / 1.242 GB, free: 91.62 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3275, allocations: 110.2 kB / 1.242 GB, free: 91.51 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3276, allocations: 366.8 kB / 1.243 GB, free: 91.14 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.3278, allocations: 197.2 kB / 1.243 GB, free: 90.95 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.3282, allocations: 443.3 kB / 1.243 GB, free: 90.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006027/0.3288, allocations: 0.6994 MB / 1.244 GB, free: 89.59 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3288, allocations: 0 / 1.244 GB, free: 89.59 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009764/0.3298, allocations: 0.8054 MB / 1.245 GB, free: 88.76 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3298, allocations: 9.094 kB / 1.245 GB, free: 88.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3298, allocations: 8 kB / 1.245 GB, free: 88.74 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004499/0.3303, allocations: 164.5 kB / 1.245 GB, free: 88.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.3307, allocations: 119.8 kB / 1.245 GB, free: 88.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.3329, allocations: 4.036 MB / 1.249 GB, free: 84.01 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.3332, allocations: 36.03 kB / 1.249 GB, free: 83.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.3333, allocations: 32 kB / 1.249 GB, free: 83.95 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.0002012/0.3335, allocations: 214.4 kB / 1.249 GB, free: 83.73 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.3336, allocations: 63.25 kB / 1.249 GB, free: 83.66 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009594/0.3345, allocations: 0.5931 MB / 1.25 GB, free: 83.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3346, allocations: 7.984 kB / 1.25 GB, free: 83.04 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3346, allocations: 3.938 kB / 1.25 GB, free: 83.04 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3346, allocations: 7.938 kB / 1.25 GB, free: 83.03 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.336, allocations: 1.272 MB / 1.251 GB, free: 81.67 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3361, allocations: 0 / 1.251 GB, free: 81.67 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.3363, allocations: 59.89 kB / 1.251 GB, free: 81.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003436/0.3366, allocations: 140.3 kB / 1.251 GB, free: 81.46 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.3367, allocations: 8 kB / 1.251 GB, free: 81.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.3387, allocations: 4.028 MB / 1.255 GB, free: 77.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3387, allocations: 4.031 kB / 1.255 GB, free: 77.02 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.34, allocations: 1.6 MB / 1.257 GB, free: 75.32 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.3402, allocations: 168.3 kB / 1.257 GB, free: 75.14 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.3402, allocations: 8 kB / 1.257 GB, free: 75.13 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.3405, allocations: 27.97 kB / 1.257 GB, free: 75.11 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.3405, allocations: 39.77 kB / 1.257 GB, free: 75.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.3406, allocations: 8 kB / 1.257 GB, free: 75.06 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002726/0.3408, allocations: 338.8 kB / 1.257 GB, free: 74.73 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3408, allocations: 0 / 1.257 GB, free: 74.73 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006578/0.3415, allocations: 144 kB / 1.258 GB, free: 74.59 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.0001265/0.3416, allocations: 115.2 kB / 1.258 GB, free: 74.47 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.3428, allocations: 1.025 MB / 1.259 GB, free: 73.36 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3428, allocations: 0 / 1.259 GB, free: 73.36 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005921/0.3434, allocations: 0.746 MB / 1.259 GB, free: 72.54 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008771/0.3443, allocations: 186.5 kB / 1.26 GB, free: 72.36 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.3457, allocations: 1.499 MB / 1.261 GB, free: 70.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.346, allocations: 0.9176 MB / 1.262 GB, free: 69.85 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.3463, allocations: 121.3 kB / 1.262 GB, free: 69.73 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.3464, allocations: 39.44 kB / 1.262 GB, free: 69.69 MB / 0.823 GB Notification: Performance of SimCode: time 5.21e-07/0.3464, allocations: 0 / 1.262 GB, free: 69.69 MB / 0.823 GB Notification: Performance of Templates: time 0.01054/0.357, allocations: 7.589 MB / 1.27 GB, free: 62.19 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)