Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000865/0.000865, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005266/0.005266, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.297/1.297, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.656/1.656, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005184/0.0005185, allocations: 15.41 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1903, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01557/0.2059, allocations: 15.38 MB / 0.803 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006927/0.2129, allocations: 4.825 MB / 0.8077 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008874/0.2138, allocations: 55.69 kB / 0.8078 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006069/0.2144, allocations: 258 kB / 0.808 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.2159, allocations: 0.6924 MB / 0.8087 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.2173, allocations: 0.6639 MB / 0.8093 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004483/0.2218, allocations: 5.256 MB / 0.8145 GB, free: 280 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007348/0.2292, allocations: 5.833 MB / 0.8202 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.2309, allocations: 1.097 MB / 0.8212 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.2326, allocations: 1.51 MB / 0.8227 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.2329, allocations: 140 kB / 0.8229 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.2343, allocations: 0.737 MB / 0.8236 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.2353, allocations: 1.072 MB / 0.8246 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.2366, allocations: 1.187 MB / 0.8258 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004744/0.2413, allocations: 4.879 MB / 0.8305 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.2413, allocations: 0 / 0.8305 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.066e-06/0.2414, allocations: 0 / 0.8305 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001023/0.2415, allocations: 0 / 0.8305 GB, free: 15.69 MB / 0.6544 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.004952/0.2464, allocations: 2.182 MB / 0.8327 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.76e-05/0.2465, allocations: 8.031 kB / 0.8327 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005963/0.2471, allocations: 374.5 kB / 0.833 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003945/0.2511, allocations: 0.8368 MB / 0.8339 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.2547, allocations: 1.501 MB / 0.8353 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.255, allocations: 181.1 kB / 0.8355 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006225/0.2556, allocations: 232.4 kB / 0.8357 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00619/0.2618, allocations: 4.169 MB / 0.8398 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/0.2619, allocations: 7.938 kB / 0.8398 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002446/0.2621, allocations: 99.98 kB / 0.8399 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.2623, allocations: 168.5 kB / 0.8401 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005398/0.2677, allocations: 3.644 MB / 0.8436 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01586/0.2836, allocations: 16.55 MB / 0.8598 GB, free: 56 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.2867, allocations: 2.308 MB / 0.862 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007713/0.2875, allocations: 0.578 MB / 0.8626 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.2876, allocations: 97.66 kB / 0.8627 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2877, allocations: 43.06 kB / 0.8627 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.2877, allocations: 0 / 0.8627 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.004986/0.2927, allocations: 3.455 MB / 0.8661 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.2927, allocations: 111.5 kB / 0.8662 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.2939, allocations: 1.022 MB / 0.8672 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.294, allocations: 37.7 kB / 0.8672 GB, free: 8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000601/0.2946, allocations: 1.099 MB / 0.8683 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.2948, allocations: 276.1 kB / 0.8686 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.2949, allocations: 113.7 kB / 0.8687 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2951, allocations: 418.7 kB / 0.8691 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008472/0.2959, allocations: 0.6207 MB / 0.8697 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.2971, allocations: 1.193 MB / 0.8709 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.2992, allocations: 1.876 MB / 0.8727 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.2993, allocations: 4 kB / 0.8727 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002859/0.3021, allocations: 2.03 MB / 0.8747 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.3022, allocations: 12 kB / 0.8747 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.3022, allocations: 20 kB / 0.8747 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004063/0.3026, allocations: 167.9 kB / 0.8749 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.3037, allocations: 351.4 kB / 0.8752 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.047e-05/0.3037, allocations: 35.86 kB / 0.8752 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008939/0.3046, allocations: 139.7 kB / 0.8754 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/0.3047, allocations: 68 kB / 0.8754 GB, free: 15.01 MB / 0.7012 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.001291/0.306, allocations: 0.9771 MB / 0.8764 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.3062, allocations: 114.6 kB / 0.8765 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.3082, allocations: 1.245 MB / 0.8777 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.3082, allocations: 11.98 kB / 0.8777 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3082, allocations: 0 / 0.8777 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.3082, allocations: 3.984 kB / 0.8777 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/0.3135, allocations: 3.811 MB / 0.8815 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3135, allocations: 0 / 0.8815 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.3141, allocations: 159.8 kB / 0.8816 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003372/0.3145, allocations: 139.3 kB / 0.8817 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.3145, allocations: 20.22 kB / 0.8818 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.3145, allocations: 15.92 kB / 0.8818 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3145, allocations: 3.938 kB / 0.8818 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.3164, allocations: 1.472 MB / 0.8832 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.3168, allocations: 295.7 kB / 0.8835 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.3169, allocations: 15.98 kB / 0.8835 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/0.3175, allocations: 75.84 kB / 0.8836 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3176, allocations: 60.42 kB / 0.8836 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.3177, allocations: 24 kB / 0.8837 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000831/0.3185, allocations: 0.6992 MB / 0.8843 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3185, allocations: 0 / 0.8843 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001275/0.3198, allocations: 384 kB / 0.8847 GB, free: 5.223 MB / 0.7012 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.002064/0.3219, allocations: 2.055 MB / 0.8867 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002117/0.324, allocations: 1.725 MB / 0.8884 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.324, allocations: 0 / 0.8884 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008573/0.3249, allocations: 0.8679 MB / 0.8893 GB, free: 356 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.3265, allocations: 253.4 kB / 0.8895 GB, free: 104 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.3441, allocations: 14.35 MB / 0.9035 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/0.3457, allocations: 1.92 MB / 0.9054 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001101/0.3468, allocations: 449.6 kB / 0.9058 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007853/0.3476, allocations: 0.7063 MB / 0.9065 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.3476, allocations: 8 kB / 0.9065 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3782/0.7259, allocations: 26.44 MB / 0.9323 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/0.7261, allocations: 243.9 kB / 0.9326 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.715, allocations: 2.844 kB / 0.9326 GB, free: 125.6 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)