Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.001117/0.001117, allocations: 101.4 kB / 15.7 MB, free: 28 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.001258/0.001259, allocations: 195.2 kB / 16.64 MB, free: 6.582 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.425/1.425, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.831/1.831, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001401/0.001402, allocations: 67.47 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2062, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02258/0.2288, allocations: 20.42 MB / 0.8036 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.2415, allocations: 7.577 MB / 0.811 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.2434, allocations: 59.81 kB / 0.811 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003422/0.2469, allocations: 1.36 MB / 0.8124 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.2493, allocations: 0.9763 MB / 0.8133 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004389/0.2537, allocations: 1.998 MB / 0.8153 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004325/0.258, allocations: 4.324 MB / 0.8195 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00685/0.2649, allocations: 6.165 MB / 0.8255 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.2676, allocations: 1.835 MB / 0.8273 GB, free: 376 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003288/0.2709, allocations: 2.209 MB / 0.8295 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007671/0.2717, allocations: 428 kB / 0.8299 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.2735, allocations: 0.9127 MB / 0.8308 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.2753, allocations: 1.653 MB / 0.8324 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002494/0.2778, allocations: 1.716 MB / 0.834 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005607/0.2834, allocations: 6.159 MB / 0.8401 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2834, allocations: 0 / 0.8401 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2834, allocations: 0 / 0.8401 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001268/0.2836, allocations: 4 kB / 0.8401 GB, free: 3.262 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005811/0.2894, allocations: 3.047 MB / 0.843 GB, free: 156 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.2895, allocations: 12.03 kB / 0.8431 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005905/0.2901, allocations: 454 kB / 0.8435 GB, free: 15.69 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/0.293, allocations: 0.6727 MB / 0.8441 GB, free: 15.01 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.2955, allocations: 1.567 MB / 0.8457 GB, free: 13.4 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.2957, allocations: 222.1 kB / 0.8459 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004174/0.2961, allocations: 280.4 kB / 0.8462 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007451/0.3036, allocations: 5.055 MB / 0.8511 GB, free: 7.668 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.897e-05/0.3037, allocations: 11.84 kB / 0.8511 GB, free: 7.656 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/0.304, allocations: 120 kB / 0.8512 GB, free: 7.539 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002196/0.3042, allocations: 208.6 kB / 0.8514 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00643/0.3106, allocations: 4.173 MB / 0.8555 GB, free: 3.145 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02269/0.3333, allocations: 22.86 MB / 0.8778 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.336, allocations: 1.723 MB / 0.8795 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.3375, allocations: 1.126 MB / 0.8806 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.3377, allocations: 101.7 kB / 0.8807 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3377, allocations: 47.14 kB / 0.8807 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.795e-06/0.3377, allocations: 4 kB / 0.8807 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.005518/0.3432, allocations: 3.981 MB / 0.8846 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.3433, allocations: 145.1 kB / 0.8848 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3443, allocations: 0.8487 MB / 0.8856 GB, free: 2.023 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.22e-05/0.3444, allocations: 41.7 kB / 0.8856 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006814/0.3451, allocations: 1.166 MB / 0.8868 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.3454, allocations: 307.6 kB / 0.8871 GB, free: 500 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.3459, allocations: 278.5 kB / 0.8873 GB, free: 216 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.346, allocations: 410.7 kB / 0.8877 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.3472, allocations: 0.8023 MB / 0.8885 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.3486, allocations: 1.287 MB / 0.8898 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/0.3511, allocations: 2.144 MB / 0.8919 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.3512, allocations: 4 kB / 0.8919 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003076/0.3542, allocations: 2.172 MB / 0.894 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.3543, allocations: 8.938 kB / 0.894 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.3543, allocations: 16 kB / 0.894 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.318e-05/0.3543, allocations: 20 kB / 0.894 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.3559, allocations: 407.2 kB / 0.8944 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.952e-05/0.3559, allocations: 31.92 kB / 0.8944 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.357, allocations: 195.3 kB / 0.8946 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.3572, allocations: 64.05 kB / 0.8947 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002562/0.3597, allocations: 1.662 MB / 0.8963 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001251/0.361, allocations: 1.174 MB / 0.8975 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002094/0.3631, allocations: 1.878 MB / 0.8993 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.125e-06/0.3631, allocations: 8 kB / 0.8993 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002538/0.3657, allocations: 1.886 MB / 0.9011 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3657, allocations: 12 kB / 0.9012 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.3657, allocations: 16 kB / 0.9012 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3657, allocations: 24 kB / 0.9012 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.3669, allocations: 356.1 kB / 0.9015 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.03e-05/0.367, allocations: 31.86 kB / 0.9016 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009847/0.368, allocations: 163.4 kB / 0.9017 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.491e-05/0.3681, allocations: 56 kB / 0.9018 GB, free: 0.5273 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003685/0.3684, allocations: 271.8 kB / 0.902 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.3687, allocations: 98.78 kB / 0.9021 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.3714, allocations: 1.839 MB / 0.9039 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.3715, allocations: 12 kB / 0.9039 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3715, allocations: 0 / 0.9039 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3715, allocations: 3.984 kB / 0.9039 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.3836, allocations: 9.58 MB / 0.9133 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.3837, allocations: 15.98 kB / 0.9133 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.3849, allocations: 316.4 kB / 0.9136 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/0.3849, allocations: 16 kB / 0.9136 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/0.385, allocations: 24 kB / 0.9136 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.939e-05/0.385, allocations: 27.81 kB / 0.9137 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.55e-05/0.385, allocations: 24.11 kB / 0.9137 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.3878, allocations: 2.402 MB / 0.916 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/0.3884, allocations: 375.5 kB / 0.9164 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.3885, allocations: 31.98 kB / 0.9164 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008526/0.3894, allocations: 139.7 kB / 0.9166 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.3896, allocations: 87.67 kB / 0.9166 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.3896, allocations: 32 kB / 0.9167 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00072/0.3904, allocations: 0.5966 MB / 0.9173 GB, free: 224 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3904, allocations: 3.938 kB / 0.9173 GB, free: 220 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.3625/0.7529, allocations: 0.7486 MB / 0.918 GB, free: 127.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003973/0.7569, allocations: 2.971 MB / 0.9209 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004997/0.7619, allocations: 2.864 MB / 0.9237 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/0.762, allocations: 2.938 kB / 0.9237 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.7631, allocations: 0.9149 MB / 0.9246 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.765, allocations: 295.6 kB / 0.9249 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/0.7891, allocations: 15.07 MB / 0.9396 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/0.7914, allocations: 2.125 MB / 0.9417 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001929/0.7933, allocations: 0.7375 MB / 0.9424 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000972/0.7943, allocations: 0.8233 MB / 0.9432 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.593e-06/0.7943, allocations: 4.875 kB / 0.9432 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05368/0.848, allocations: 31.64 MB / 0.9741 GB, free: 97.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.949/9.797, allocations: 4.594 kB / 0.9741 GB, free: 97.8 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)