Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.703/1.703, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.001509/0.00151, allocations: 70.97 kB / 0.6715 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2902, allocations: 114.5 MB / 0.7834 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007394/0.2977, allocations: 4.893 MB / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004561/0.3023, allocations: 2.538 MB / 0.7906 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005019/0.3029, allocations: 23.81 kB / 0.7907 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.3041, allocations: 404.9 kB / 0.791 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.3053, allocations: 449.6 kB / 0.7915 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009564/0.3063, allocations: 398.5 kB / 0.7918 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.3073, allocations: 0.9251 MB / 0.7927 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/0.3079, allocations: 358.5 kB / 0.7931 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.3083, allocations: 330.7 kB / 0.7934 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.3088, allocations: 354.4 kB / 0.7937 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.3089, allocations: 36 kB / 0.7938 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000798/0.3097, allocations: 411.1 kB / 0.7942 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.3099, allocations: 179.5 kB / 0.7943 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.3102, allocations: 318.2 kB / 0.7946 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000947/0.3111, allocations: 0.8799 MB / 0.7955 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3112, allocations: 3.984 kB / 0.7955 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3112, allocations: 0 / 0.7955 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.3112, allocations: 3.938 kB / 0.7955 GB, free: 1.078 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.001472/0.3127, allocations: 0.9424 MB / 0.7964 GB, free: 84 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3127, allocations: 8.031 kB / 0.7964 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.314, allocations: 195.9 kB / 0.7966 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.3147, allocations: 0.4944 MB / 0.7971 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.3147, allocations: 41.36 kB / 0.7971 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.3148, allocations: 40.38 kB / 0.7972 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.3158, allocations: 0.8524 MB / 0.798 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.3159, allocations: 11.84 kB / 0.798 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.3159, allocations: 27.92 kB / 0.7981 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-05/0.316, allocations: 64.95 kB / 0.7981 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008036/0.3168, allocations: 0.5656 MB / 0.7987 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.3212, allocations: 5.662 MB / 0.8042 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.3218, allocations: 449.3 kB / 0.8046 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.3221, allocations: 228.7 kB / 0.8048 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3222, allocations: 11.98 kB / 0.8049 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.3222, allocations: 30.56 kB / 0.8049 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.294e-06/0.3222, allocations: 4 kB / 0.8049 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002516/0.3247, allocations: 1.506 MB / 0.8064 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3248, allocations: 59.39 kB / 0.8064 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.3253, allocations: 0.4913 MB / 0.8069 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.3253, allocations: 33.7 kB / 0.8069 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.3255, allocations: 366.8 kB / 0.8073 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.3256, allocations: 122.3 kB / 0.8074 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.3258, allocations: 110.2 kB / 0.8075 GB, free: 4 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.326, allocations: 366.8 kB / 0.8079 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.3262, allocations: 197.2 kB / 0.808 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.3267, allocations: 447 kB / 0.8085 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.3274, allocations: 0.6847 MB / 0.8091 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3275, allocations: 0 / 0.8091 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001209/0.3287, allocations: 0.8097 MB / 0.8099 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.3287, allocations: 8.938 kB / 0.8099 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3287, allocations: 8 kB / 0.8099 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00047/0.3292, allocations: 168.2 kB / 0.8101 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.3297, allocations: 119.8 kB / 0.8102 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.3329, allocations: 4.34 MB / 0.8145 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.3334, allocations: 35.97 kB / 0.8145 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.3334, allocations: 31.98 kB / 0.8145 GB, free: 12.12 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 (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.0002682/0.3337, allocations: 220 kB / 0.8147 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.3338, allocations: 59.25 kB / 0.8148 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009581/0.3348, allocations: 0.6007 MB / 0.8154 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3348, allocations: 8 kB / 0.8154 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3348, allocations: 0 / 0.8154 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3348, allocations: 7.969 kB / 0.8154 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.3365, allocations: 1.266 MB / 0.8166 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3365, allocations: 0 / 0.8166 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.3368, allocations: 55.95 kB / 0.8167 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003897/0.3372, allocations: 144.3 kB / 0.8168 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.3372, allocations: 11.94 kB / 0.8168 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003033/0.3402, allocations: 4.336 MB / 0.8211 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3403, allocations: 0 / 0.8211 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/0.3413, allocations: 0.7237 MB / 0.8218 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.3415, allocations: 168.3 kB / 0.8219 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.3416, allocations: 8 kB / 0.8219 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.3418, allocations: 23.97 kB / 0.822 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.3419, allocations: 27.91 kB / 0.822 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.3419, allocations: 12 kB / 0.822 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003475/0.3423, allocations: 342.8 kB / 0.8223 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3423, allocations: 0 / 0.8223 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006553/0.343, allocations: 144 kB / 0.8225 GB, free: 3.352 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 (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.0001694/0.3431, allocations: 115.1 kB / 0.8226 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.3447, allocations: 1.079 MB / 0.8236 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3447, allocations: 0 / 0.8236 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008529/0.3455, allocations: 0.735 MB / 0.8243 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.3466, allocations: 198.2 kB / 0.8245 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.3483, allocations: 1.058 MB / 0.8256 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.3487, allocations: 0.9098 MB / 0.8265 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003488/0.3491, allocations: 125.3 kB / 0.8266 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.3492, allocations: 39.44 kB / 0.8266 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.3492, allocations: 0 / 0.8266 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.01675/0.366, allocations: 7.605 MB / 0.834 GB, free: 7.34 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)