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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001633/0.001633, allocations: 180.8 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009592/0.0009591, allocations: 90.55 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.535e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7358/0.7358, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/0.9775, allocations: 167.9 MB / 1.137 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.9779, allocations: 91.94 kB / 1.137 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2118/1.19, allocations: 85.6 MB / 1.221 GB, free: 7.895 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.355e-06/1.19, allocations: 0 / 1.221 GB, free: 7.895 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001934/1.19, allocations: 59.98 kB / 1.221 GB, free: 7.836 MB / 0.823 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.007176/1.197, allocations: 2.112 MB / 1.223 GB, free: 5.668 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.197, allocations: 8.031 kB / 1.223 GB, free: 5.66 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/1.202, allocations: 0.7579 MB / 1.224 GB, free: 4.898 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/1.206, allocations: 1.543 MB / 1.225 GB, free: 3.309 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/1.206, allocations: 76 kB / 1.225 GB, free: 3.234 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008554/1.207, allocations: 136 kB / 1.226 GB, free: 3.102 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006305/1.214, allocations: 2.688 MB / 1.228 GB, free: 416 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00796/1.222, allocations: 3.468 MB / 1.232 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.718e-05/1.222, allocations: 3.938 kB / 1.232 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/1.222, allocations: 4 kB / 1.232 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001968/1.222, allocations: 164.5 kB / 1.232 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02099/1.243, allocations: 15.8 MB / 1.247 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/1.246, allocations: 2.09 MB / 1.249 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/1.247, allocations: 0.5625 MB / 1.25 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/1.247, allocations: 97.66 kB / 1.25 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/1.248, allocations: 47.11 kB / 1.25 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 2.985e-06/1.248, allocations: 0 / 1.25 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76): time 0.005961/1.253, allocations: 2.586 MB / 1.252 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/1.254, allocations: 115.7 kB / 1.253 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/1.256, allocations: 0.8324 MB / 1.253 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/1.256, allocations: 25.7 kB / 1.253 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/1.257, allocations: 1.099 MB / 1.254 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/1.257, allocations: 260.2 kB / 1.255 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/1.257, allocations: 0 / 1.255 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003163/1.258, allocations: 410.7 kB / 1.255 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/1.259, allocations: 0.5583 MB / 1.256 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/1.26, allocations: 1.092 MB / 1.257 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/1.262, allocations: 0.9409 MB / 1.258 GB, free: 152 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-05/1.262, allocations: 4 kB / 1.258 GB, free: 148 kB / 0.8542 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.6368/1.899, allocations: 1.916 MB / 1.259 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/1.899, allocations: 13.47 kB / 1.259 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-05/1.899, allocations: 18.28 kB / 1.259 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/1.899, allocations: 158.8 kB / 1.26 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/1.901, allocations: 343.9 kB / 1.26 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.44e-05/1.901, allocations: 40.53 kB / 1.26 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.902, allocations: 107.4 kB / 1.26 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/1.903, allocations: 70.48 kB / 1.26 GB, free: 204.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002549/1.903, allocations: 155.9 kB / 1.26 GB, free: 204 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00305/1.906, allocations: 1.124 MB / 1.261 GB, free: 203.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/1.906, allocations: 104.4 kB / 1.262 GB, free: 203.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/1.909, allocations: 1.184 MB / 1.263 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/1.909, allocations: 9.281 kB / 1.263 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/1.909, allocations: 2.062 kB / 1.263 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/1.909, allocations: 4.797 kB / 1.263 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006841/1.916, allocations: 3.193 MB / 1.266 GB, free: 203.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.916, allocations: 2.75 kB / 1.266 GB, free: 203.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/1.917, allocations: 168.3 kB / 1.266 GB, free: 203.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003439/1.917, allocations: 134.4 kB / 1.266 GB, free: 203.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/1.917, allocations: 7.875 kB / 1.266 GB, free: 203.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/1.917, allocations: 8.594 kB / 1.266 GB, free: 203.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.917, allocations: 6.609 kB / 1.266 GB, free: 203.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/1.92, allocations: 1.544 MB / 1.268 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/1.92, allocations: 297.3 kB / 1.268 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/1.92, allocations: 3.047 kB / 1.268 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/1.921, allocations: 59.33 kB / 1.268 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.921, allocations: 58.77 kB / 1.268 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/1.921, allocations: 24.25 kB / 1.268 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001088/1.922, allocations: 0.6207 MB / 1.269 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.21e-07/1.922, allocations: 0 / 1.269 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002087/1.925, allocations: 377.6 kB / 1.269 GB, free: 202.4 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003538/1.928, allocations: 2.797 MB / 1.272 GB, free: 200.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002763/1.931, allocations: 1.584 MB / 1.273 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.931, allocations: 3.75 kB / 1.273 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/1.932, allocations: 0.8197 MB / 1.274 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/1.934, allocations: 214.8 kB / 1.274 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009466/1.943, allocations: 3.583 MB / 1.278 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/1.946, allocations: 1.961 MB / 1.28 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001651/1.948, allocations: 438.1 kB / 1.28 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009741/1.949, allocations: 0.7188 MB / 1.281 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.163e-06/1.949, allocations: 0 / 1.281 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07871/2.027, allocations: 26.21 MB / 1.306 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/2.028, allocations: 169.7 kB / 1.307 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/4.781, allocations: 1.531 kB / 1.307 GB, free: 197.1 MB / 0.8542 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/linux/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)