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.487/1.487, allocations: 249.3 MB / 261.8 MB, free: 5.867 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.001495/0.001495, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.001059/0.001059, allocations: 84.55 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.139e-05/4.152e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2517, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8189/1.071, allocations: 148 MB / 1.036 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.071, allocations: 98.44 kB / 1.037 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07169/1.143, allocations: 29.75 MB / 1.066 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.853e-06/1.143, allocations: 0 / 1.066 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.718e-05/1.143, allocations: 23.98 kB / 1.066 GB, free: 11.04 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.001356/1.144, allocations: 0.774 MB / 1.066 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/1.144, allocations: 8.031 kB / 1.066 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/1.144, allocations: 92.44 kB / 1.066 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/1.146, allocations: 205.9 kB / 1.067 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008391/1.147, allocations: 0.4891 MB / 1.067 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/1.147, allocations: 35.86 kB / 1.067 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/1.147, allocations: 42.06 kB / 1.067 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/1.148, allocations: 0.9162 MB / 1.068 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/1.148, allocations: 11.84 kB / 1.068 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/1.148, allocations: 27.23 kB / 1.068 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.131e-05/1.148, allocations: 56.23 kB / 1.068 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009824/1.149, allocations: 0.5524 MB / 1.069 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005218/1.155, allocations: 5.665 MB / 1.074 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/1.155, allocations: 452.1 kB / 1.075 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/1.156, allocations: 223.6 kB / 1.075 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/1.156, allocations: 8 kB / 1.075 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/1.156, allocations: 38.39 kB / 1.075 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 2.435e-06/1.156, allocations: 0 / 1.075 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001553/1.157, allocations: 0.8399 MB / 1.076 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/1.157, allocations: 51.41 kB / 1.076 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/1.158, allocations: 448.3 kB / 1.076 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/1.158, allocations: 28.7 kB / 1.076 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/1.158, allocations: 347.1 kB / 1.077 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/1.158, allocations: 119.8 kB / 1.077 GB, free: 424 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/1.158, allocations: 12.56 kB / 1.077 GB, free: 420 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.158, allocations: 370.8 kB / 1.077 GB, free: 64 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/1.159, allocations: 186.9 kB / 1.077 GB, free: 15.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/1.159, allocations: 396.8 kB / 1.078 GB, free: 15.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/1.159, allocations: 258.8 kB / 1.078 GB, free: 15.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.159, allocations: 0 / 1.078 GB, free: 15.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001104/1.16, allocations: 0.7574 MB / 1.079 GB, free: 14.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.16, allocations: 8.125 kB / 1.079 GB, free: 14.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.16, allocations: 12 kB / 1.079 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/1.161, allocations: 150.4 kB / 1.079 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/1.161, allocations: 114.7 kB / 1.079 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/1.164, allocations: 4.039 MB / 1.083 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/1.165, allocations: 31.78 kB / 1.083 GB, free: 10.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/1.165, allocations: 27.61 kB / 1.083 GB, free: 10.15 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.000136/1.165, allocations: 142 kB / 1.083 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/1.165, allocations: 63.25 kB / 1.083 GB, free: 9.957 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/1.166, allocations: 0.5925 MB / 1.084 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.166, allocations: 4 kB / 1.084 GB, free: 9.504 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.166, allocations: 7.953 kB / 1.084 GB, free: 9.496 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/1.166, allocations: 11.92 kB / 1.084 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/1.168, allocations: 1.241 MB / 1.085 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.168, allocations: 0 / 1.085 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/1.168, allocations: 59.89 kB / 1.085 GB, free: 8.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003818/1.169, allocations: 140.1 kB / 1.085 GB, free: 8.008 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/1.169, allocations: 12.16 kB / 1.085 GB, free: 7.996 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/1.172, allocations: 4.025 MB / 1.089 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.172, allocations: 4 kB / 1.089 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/1.173, allocations: 0.7862 MB / 1.09 GB, free: 2.688 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/1.173, allocations: 168.3 kB / 1.09 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/1.173, allocations: 12 kB / 1.09 GB, free: 2.492 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/1.173, allocations: 23.97 kB / 1.09 GB, free: 2.469 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/1.173, allocations: 31.89 kB / 1.09 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/1.174, allocations: 12 kB / 1.09 GB, free: 2.426 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003799/1.174, allocations: 333.5 kB / 1.09 GB, free: 2.102 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/1.174, allocations: 4 kB / 1.09 GB, free: 2.098 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006535/1.175, allocations: 144 kB / 1.09 GB, free: 1.957 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.001465/1.176, allocations: 1.832 MB / 1.092 GB, free: 36 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001373/1.177, allocations: 1.005 MB / 1.093 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.177, allocations: 0 / 1.093 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008119/1.178, allocations: 0.7348 MB / 1.094 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008685/1.179, allocations: 179.5 kB / 1.094 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/1.181, allocations: 0.8845 MB / 1.095 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/1.181, allocations: 0.9219 MB / 1.096 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003439/1.182, allocations: 113.2 kB / 1.096 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/1.182, allocations: 195.4 kB / 1.096 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/1.182, allocations: 0 / 1.096 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/1.21, allocations: 12.14 MB / 1.108 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/1.211, allocations: 204.1 kB / 1.108 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/3.537, allocations: 3.656 kB / 1.108 GB, free: 15.62 MB / 0.7292 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)