Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 182.3 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006749/0.000675, allocations: 78.38 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 11.47 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1866, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01224/0.1989, allocations: 15.37 MB / 0.9165 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006453/0.2054, allocations: 4.829 MB / 0.9212 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.2066, allocations: 59.62 kB / 0.9212 GB, free: 43.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.2072, allocations: 254 kB / 0.9215 GB, free: 42.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.2089, allocations: 0.6924 MB / 0.9222 GB, free: 42.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.2104, allocations: 0.6655 MB / 0.9228 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003637/0.2141, allocations: 5.256 MB / 0.9279 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006858/0.221, allocations: 5.835 MB / 0.9336 GB, free: 30.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.2228, allocations: 1.124 MB / 0.9347 GB, free: 29.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.2249, allocations: 1.51 MB / 0.9362 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004044/0.2253, allocations: 144 kB / 0.9364 GB, free: 27.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.2268, allocations: 0.7253 MB / 0.9371 GB, free: 26.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.2279, allocations: 1.076 MB / 0.9381 GB, free: 25.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.2292, allocations: 1.191 MB / 0.9393 GB, free: 24.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.2325, allocations: 4.274 MB / 0.9435 GB, free: 20.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.2326, allocations: 4 kB / 0.9435 GB, free: 20.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.609e-06/0.2326, allocations: 0 / 0.9435 GB, free: 20.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001351/0.2327, allocations: 4 kB / 0.9435 GB, free: 20.29 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003822/0.2365, allocations: 2.171 MB / 0.9456 GB, free: 18.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2366, allocations: 11.97 kB / 0.9456 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00376/0.2404, allocations: 0.8369 MB / 0.9464 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.2428, allocations: 1.505 MB / 0.9479 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.637e-05/0.2429, allocations: 177.1 kB / 0.948 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005026/0.2434, allocations: 228.4 kB / 0.9483 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005989/0.2494, allocations: 4.165 MB / 0.9523 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.184e-05/0.2495, allocations: 7.938 kB / 0.9523 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/0.2498, allocations: 104 kB / 0.9524 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.2499, allocations: 168.5 kB / 0.9526 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004787/0.2547, allocations: 3.641 MB / 0.9562 GB, free: 7.016 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01689/0.2716, allocations: 16.56 MB / 0.9723 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/0.2751, allocations: 2.303 MB / 0.9746 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008697/0.276, allocations: 0.5897 MB / 0.9752 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.2761, allocations: 97.64 kB / 0.9752 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.2762, allocations: 43.12 kB / 0.9753 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 3.326e-06/0.2762, allocations: 0 / 0.9753 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.005537/0.2817, allocations: 3.452 MB / 0.9787 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.2818, allocations: 115.5 kB / 0.9788 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.2831, allocations: 1.018 MB / 0.9798 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.2832, allocations: 37.7 kB / 0.9798 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006861/0.2839, allocations: 1.103 MB / 0.9809 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.2841, allocations: 272.2 kB / 0.9811 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.2842, allocations: 24 kB / 0.9812 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.2844, allocations: 414.7 kB / 0.9816 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008927/0.2853, allocations: 0.6246 MB / 0.9822 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.2865, allocations: 1.193 MB / 0.9833 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.2888, allocations: 1.876 MB / 0.9852 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.2888, allocations: 4 kB / 0.9852 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003125/0.2919, allocations: 2.03 MB / 0.9871 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.292, allocations: 16.62 kB / 0.9872 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.292, allocations: 20 kB / 0.9872 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004374/0.2924, allocations: 159.3 kB / 0.9873 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.2936, allocations: 351.4 kB / 0.9877 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-05/0.2937, allocations: 43.8 kB / 0.9877 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.2947, allocations: 143.6 kB / 0.9878 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/0.2948, allocations: 64 kB / 0.9879 GB, free: 4.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001509/0.2963, allocations: 0.984 MB / 0.9889 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.2966, allocations: 106.7 kB / 0.989 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.2986, allocations: 1.238 MB / 0.9902 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.2987, allocations: 11.94 kB / 0.9902 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.2987, allocations: 8 kB / 0.9902 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.2987, allocations: 3.984 kB / 0.9902 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005497/0.3042, allocations: 3.815 MB / 0.9939 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.3043, allocations: 8 kB / 0.9939 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.3049, allocations: 155.8 kB / 0.9941 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003541/0.3052, allocations: 147.6 kB / 0.9942 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.3053, allocations: 16 kB / 0.9942 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.3053, allocations: 11.88 kB / 0.9942 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3053, allocations: 4 kB / 0.9943 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.3073, allocations: 1.472 MB / 0.9957 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.3078, allocations: 295.6 kB / 0.996 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3079, allocations: 16 kB / 0.996 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/0.3085, allocations: 75.91 kB / 0.9961 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.3087, allocations: 52.42 kB / 0.9961 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.3087, allocations: 28 kB / 0.9961 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009031/0.3097, allocations: 0.6953 MB / 0.9968 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3097, allocations: 0 / 0.9968 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001286/0.311, allocations: 388 kB / 0.9972 GB, free: 10.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002221/0.3112, allocations: 131 kB / 0.9973 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002256/0.3134, allocations: 1.715 MB / 0.999 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3135, allocations: 0 / 0.999 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.3144, allocations: 0.8743 MB / 0.9998 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.3161, allocations: 256.5 kB / 1 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/0.3232, allocations: 5.206 MB / 1.005 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/0.3249, allocations: 1.966 MB / 1.007 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/0.3253, allocations: 95.42 kB / 1.007 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of SimCode: time 6.82e-07/0.3253, allocations: 0 / 1.007 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of Templates: time 0.3933/0.7186, allocations: 73.03 MB / 1.078 GB, free: 134.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)