Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 180.8 kB / 316.3 MB, free: 3.254 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.599/1.599, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0008549/0.0008548, allocations: 90.47 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.751e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2144, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7648/0.9792, allocations: 148.3 MB / 1.03 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.9796, allocations: 91.31 kB / 1.03 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07032/1.05, allocations: 29.63 MB / 1.059 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.387e-06/1.05, allocations: 0 / 1.059 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.829e-05/1.05, allocations: 19.94 kB / 1.059 GB, free: 13.81 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001124/1.051, allocations: 0.7828 MB / 1.06 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.051, allocations: 8.031 kB / 1.06 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/1.052, allocations: 206.7 kB / 1.06 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/1.053, allocations: 489 kB / 1.061 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/1.053, allocations: 16 kB / 1.061 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/1.053, allocations: 31.98 kB / 1.061 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005966/1.054, allocations: 418.7 kB / 1.061 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009571/1.055, allocations: 0.8559 MB / 1.062 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.055, allocations: 7.844 kB / 1.062 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/1.055, allocations: 12 kB / 1.062 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.893e-05/1.055, allocations: 48.25 kB / 1.062 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/1.059, allocations: 5.549 MB / 1.067 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/1.06, allocations: 450.3 kB / 1.068 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/1.06, allocations: 211.5 kB / 1.068 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/1.06, allocations: 3.984 kB / 1.068 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/1.06, allocations: 38.12 kB / 1.068 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/1.06, allocations: 0 / 1.068 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001444/1.062, allocations: 0.8139 MB / 1.069 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/1.062, allocations: 59.36 kB / 1.069 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/1.062, allocations: 359.2 kB / 1.069 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/1.062, allocations: 25.7 kB / 1.069 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/1.062, allocations: 350 kB / 1.07 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.835e-05/1.062, allocations: 108.8 kB / 1.07 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/1.062, allocations: 0 / 1.07 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.063, allocations: 364.5 kB / 1.07 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/1.063, allocations: 176.1 kB / 1.07 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/1.063, allocations: 383.6 kB / 1.071 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/1.064, allocations: 243.6 kB / 1.071 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.064, allocations: 4 kB / 1.071 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001195/1.065, allocations: 0.688 MB / 1.071 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/1.065, allocations: 12.16 kB / 1.072 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/1.065, allocations: 8 kB / 1.072 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005146/1.065, allocations: 146.2 kB / 1.072 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/1.066, allocations: 118.6 kB / 1.072 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/1.069, allocations: 3.87 MB / 1.076 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/1.07, allocations: 23.97 kB / 1.076 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/1.07, allocations: 26.06 kB / 1.076 GB, free: 13.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/1.07, allocations: 128.1 kB / 1.076 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008346/1.071, allocations: 0.5231 MB / 1.076 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/1.071, allocations: 55.34 kB / 1.076 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009386/1.072, allocations: 0.5639 MB / 1.077 GB, free: 12.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.072, allocations: 4 kB / 1.077 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.072, allocations: 0 / 1.077 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.072, allocations: 3.938 kB / 1.077 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/1.074, allocations: 1.154 MB / 1.078 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.074, allocations: 0 / 1.078 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/1.074, allocations: 55.89 kB / 1.078 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003867/1.074, allocations: 138.8 kB / 1.078 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/1.074, allocations: 3.438 kB / 1.078 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/1.078, allocations: 3.867 MB / 1.082 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.078, allocations: 0 / 1.082 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/1.079, allocations: 0.7553 MB / 1.083 GB, free: 6.598 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/1.079, allocations: 165.8 kB / 1.083 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/1.079, allocations: 7.938 kB / 1.083 GB, free: 6.422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/1.079, allocations: 15.97 kB / 1.083 GB, free: 6.406 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/1.079, allocations: 35.16 kB / 1.083 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/1.079, allocations: 11.31 kB / 1.083 GB, free: 6.367 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003209/1.08, allocations: 264.6 kB / 1.083 GB, free: 6.168 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.08, allocations: 8 kB / 1.083 GB, free: 6.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00075/1.08, allocations: 120 kB / 1.083 GB, free: 6.043 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/1.082, allocations: 1.795 MB / 1.085 GB, free: 4.285 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001295/1.083, allocations: 0.9526 MB / 1.086 GB, free: 3.398 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.083, allocations: 0 / 1.086 GB, free: 3.398 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008086/1.084, allocations: 0.7107 MB / 1.087 GB, free: 2.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008367/1.085, allocations: 169.3 kB / 1.087 GB, free: 2.539 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/1.087, allocations: 0.8363 MB / 1.088 GB, free: 1.727 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/1.087, allocations: 0.928 MB / 1.089 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003518/1.087, allocations: 108.9 kB / 1.089 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/1.088, allocations: 191.1 kB / 1.089 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of SimCode: time 7.02e-07/1.088, allocations: 0 / 1.089 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/1.127, allocations: 10.76 MB / 1.099 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/1.127, allocations: 174.2 kB / 1.099 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/3.261, allocations: 0 / 1.099 GB, free: 5.77 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)