Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.72/1.72, allocations: 287.4 MB / 302.6 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 189.3 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007173/0.0007174, allocations: 90.36 kB / 0.7431 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004664, allocations: 20.89 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1899, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01684/0.2068, allocations: 18.54 MB / 0.9968 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.2171, allocations: 7.174 MB / 1.004 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.2187, allocations: 51.81 kB / 1.004 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.2195, allocations: 353.3 kB / 1.004 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.2212, allocations: 0.7546 MB / 1.005 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.2237, allocations: 1.021 MB / 1.006 GB, free: 104 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004956/0.2287, allocations: 4.985 MB / 1.011 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.239, allocations: 7.446 MB / 1.018 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.2412, allocations: 1.277 MB / 1.019 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.2436, allocations: 1.834 MB / 1.021 GB, free: 460 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000345/0.244, allocations: 176 kB / 1.021 GB, free: 284 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.245, allocations: 435.6 kB / 1.022 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.2463, allocations: 1.329 MB / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005734/0.2468, allocations: 0.5589 MB / 1.024 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.2511, allocations: 5.127 MB / 1.029 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2511, allocations: 4 kB / 1.029 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2511, allocations: 0 / 1.029 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001103/0.2513, allocations: 0 / 1.029 GB, free: 8.809 MB / 0.6511 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.004348/0.2556, allocations: 2.443 MB / 1.031 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.2557, allocations: 12.02 kB / 1.031 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007069/0.2564, allocations: 450 kB / 1.031 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.2592, allocations: 0.6805 MB / 1.032 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.2618, allocations: 1.54 MB / 1.034 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.262, allocations: 218.1 kB / 1.034 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/0.2625, allocations: 284.4 kB / 1.034 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007806/0.2703, allocations: 5.031 MB / 1.039 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.148e-05/0.2704, allocations: 11.92 kB / 1.039 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.2706, allocations: 120 kB / 1.039 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/0.2709, allocations: 208.6 kB / 1.039 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006507/0.2774, allocations: 4.165 MB / 1.043 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02292/0.3003, allocations: 23.03 MB / 1.066 GB, free: 180 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4158/0.7162, allocations: 1.713 MB / 1.068 GB, free: 84.73 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.7181, allocations: 1.124 MB / 1.069 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.7182, allocations: 103.4 kB / 1.069 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.7183, allocations: 44.72 kB / 1.069 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=84): time 3.656e-06/0.7183, allocations: 0 / 1.069 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.007456/0.7258, allocations: 3.997 MB / 1.073 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.7259, allocations: 139.3 kB / 1.073 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.7281, allocations: 0.8381 MB / 1.074 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.7283, allocations: 44.61 kB / 1.074 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008017/0.7291, allocations: 1.166 MB / 1.075 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.7295, allocations: 309 kB / 1.075 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.7296, allocations: 25.69 kB / 1.075 GB, free: 80.81 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.7298, allocations: 409.4 kB / 1.076 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.7314, allocations: 0.7927 MB / 1.076 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.7331, allocations: 1.29 MB / 1.078 GB, free: 79.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/0.736, allocations: 2.143 MB / 1.08 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.736, allocations: 6.75 kB / 1.08 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003812/0.7399, allocations: 2.166 MB / 1.082 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003112/0.7402, allocations: 0.4924 MB / 1.082 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/0.7402, allocations: 14.72 kB / 1.082 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.016e-05/0.7403, allocations: 20.75 kB / 1.082 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.7419, allocations: 413.3 kB / 1.083 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.533e-05/0.742, allocations: 32.02 kB / 1.083 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.7433, allocations: 204.2 kB / 1.083 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.7434, allocations: 58.84 kB / 1.083 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.7434, allocations: 3.625 kB / 1.083 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002828/0.7463, allocations: 1.763 MB / 1.085 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.7463, allocations: 14.28 kB / 1.085 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.7463, allocations: 20.94 kB / 1.085 GB, free: 75.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.7476, allocations: 359.5 kB / 1.085 GB, free: 75.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-05/0.7477, allocations: 36.86 kB / 1.085 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.7487, allocations: 143.9 kB / 1.085 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/0.7488, allocations: 56.66 kB / 1.085 GB, free: 75.77 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002315/0.7511, allocations: 1.18 MB / 1.086 GB, free: 75.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/0.7515, allocations: 100.3 kB / 1.087 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/0.7544, allocations: 1.849 MB / 1.088 GB, free: 74.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.7545, allocations: 15.8 kB / 1.088 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.7545, allocations: 1.75 kB / 1.088 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.7545, allocations: 4.781 kB / 1.088 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/0.7673, allocations: 9.593 MB / 1.098 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/0.7674, allocations: 11.5 kB / 1.098 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.7686, allocations: 308.1 kB / 1.098 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.058e-05/0.7686, allocations: 16.75 kB / 1.098 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/0.7687, allocations: 36.91 kB / 1.098 GB, free: 70.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.765e-05/0.7687, allocations: 27.75 kB / 1.098 GB, free: 70.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/0.7687, allocations: 19.58 kB / 1.098 GB, free: 70.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.7713, allocations: 2.398 MB / 1.1 GB, free: 69.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/0.7718, allocations: 385 kB / 1.101 GB, free: 68.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.772, allocations: 29.98 kB / 1.101 GB, free: 68.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008416/0.7728, allocations: 142.3 kB / 1.101 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.773, allocations: 94.02 kB / 1.101 GB, free: 68.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.7731, allocations: 38.09 kB / 1.101 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007305/0.7738, allocations: 0.578 MB / 1.102 GB, free: 68.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7739, allocations: 0 / 1.102 GB, free: 68.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002802/0.7767, allocations: 0.7482 MB / 1.102 GB, free: 68.56 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002749/0.7794, allocations: 2.985 MB / 1.105 GB, free: 66.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003992/0.7834, allocations: 2.83 MB / 1.108 GB, free: 65.51 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/0.7835, allocations: 2.25 kB / 1.108 GB, free: 65.51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.7847, allocations: 0.9177 MB / 1.109 GB, free: 65.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.7875, allocations: 274 kB / 1.109 GB, free: 64.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/0.8036, allocations: 11.47 MB / 1.12 GB, free: 57.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.8053, allocations: 2.124 MB / 1.123 GB, free: 55.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00171/0.807, allocations: 0.7381 MB / 1.123 GB, free: 55.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008938/0.808, allocations: 0.8312 MB / 1.124 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of SimCode: time 9.51e-07/0.808, allocations: 0 / 1.124 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6626/1.471, allocations: 31.12 MB / 1.154 GB, free: 23.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/1.471, allocations: 208.2 kB / 1.155 GB, free: 23.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.076/4.546, allocations: 0 / 1.155 GB, free: 23.27 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)