Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001165/0.001165, allocations: 181.3 kB / 371.6 MB, free: 3.375 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.909/1.909, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.0009862/0.0009865, allocations: 89.08 kB / 0.745 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.854e-05, allocations: 0 / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2887, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9884/1.277, allocations: 155.3 MB / 1.132 GB, free: 33.16 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.277, allocations: 94.89 kB / 1.132 GB, free: 33.12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07396/1.351, allocations: 29.73 MB / 1.161 GB, free: 17.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.964e-06/1.352, allocations: 4 kB / 1.161 GB, free: 17.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.099e-05/1.352, allocations: 23.98 kB / 1.161 GB, free: 17.71 MB / 0.7448 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.001861/1.353, allocations: 0.7803 MB / 1.161 GB, free: 17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.354, allocations: 12.03 kB / 1.161 GB, free: 16.98 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/1.354, allocations: 89.39 kB / 1.162 GB, free: 16.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/1.355, allocations: 208.6 kB / 1.162 GB, free: 16.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009539/1.356, allocations: 496 kB / 1.162 GB, free: 16.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/1.356, allocations: 40.73 kB / 1.162 GB, free: 16.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/1.356, allocations: 49.64 kB / 1.162 GB, free: 16.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.358, allocations: 0.9137 MB / 1.163 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/1.358, allocations: 7.938 kB / 1.163 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/1.358, allocations: 20.88 kB / 1.163 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.523e-05/1.358, allocations: 54.94 kB / 1.163 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008172/1.359, allocations: 0.5599 MB / 1.164 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003913/1.362, allocations: 5.662 MB / 1.169 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/1.363, allocations: 443.4 kB / 1.17 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/1.363, allocations: 234 kB / 1.17 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/1.363, allocations: 7.984 kB / 1.17 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/1.363, allocations: 30.56 kB / 1.17 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 4.027e-06/1.363, allocations: 3.984 kB / 1.17 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.00152/1.365, allocations: 0.8562 MB / 1.171 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/1.365, allocations: 55.41 kB / 1.171 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/1.365, allocations: 436 kB / 1.171 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/1.365, allocations: 28.89 kB / 1.171 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/1.366, allocations: 347.5 kB / 1.172 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/1.366, allocations: 122.7 kB / 1.172 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/1.366, allocations: 11.06 kB / 1.172 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/1.366, allocations: 366.9 kB / 1.172 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/1.366, allocations: 192.6 kB / 1.172 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/1.366, allocations: 398.1 kB / 1.173 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/1.367, allocations: 252.4 kB / 1.173 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/1.367, allocations: 0 / 1.173 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001067/1.368, allocations: 0.7732 MB / 1.174 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/1.368, allocations: 12.78 kB / 1.174 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.368, allocations: 7.938 kB / 1.174 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/1.368, allocations: 152.9 kB / 1.174 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/1.369, allocations: 119.4 kB / 1.174 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/1.371, allocations: 4.02 MB / 1.178 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/1.372, allocations: 31.88 kB / 1.178 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/1.372, allocations: 30.62 kB / 1.178 GB, free: 0.875 MB / 0.7448 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.0001138/1.372, allocations: 137.1 kB / 1.178 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/1.372, allocations: 63.25 kB / 1.178 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/1.373, allocations: 0.5922 MB / 1.179 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.373, allocations: 4 kB / 1.179 GB, free: 244 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.373, allocations: 11.94 kB / 1.179 GB, free: 232 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/1.373, allocations: 3.953 kB / 1.179 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/1.375, allocations: 1.252 MB / 1.18 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.375, allocations: 0 / 1.18 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/1.375, allocations: 51.95 kB / 1.18 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/1.375, allocations: 142.6 kB / 1.18 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/1.375, allocations: 14.95 kB / 1.18 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0035/1.379, allocations: 4.02 MB / 1.184 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.379, allocations: 3.938 kB / 1.184 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/1.38, allocations: 0.784 MB / 1.185 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/1.38, allocations: 170.3 kB / 1.185 GB, free: 9.785 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/1.381, allocations: 14.69 kB / 1.185 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/1.381, allocations: 23.09 kB / 1.185 GB, free: 9.754 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/1.381, allocations: 26.41 kB / 1.185 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/1.381, allocations: 8 kB / 1.185 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003793/1.381, allocations: 339.4 kB / 1.185 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/1.381, allocations: 0 / 1.185 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006581/1.382, allocations: 145.4 kB / 1.186 GB, free: 9.34 MB / 0.7605 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.001496/1.383, allocations: 1.823 MB / 1.187 GB, free: 7.57 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001433/1.385, allocations: 1.014 MB / 1.188 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.385, allocations: 4.125 kB / 1.188 GB, free: 6.617 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008338/1.386, allocations: 0.7224 MB / 1.189 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008599/1.387, allocations: 175.8 kB / 1.189 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/1.388, allocations: 0.8908 MB / 1.19 GB, free: 4.898 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/1.389, allocations: 0.9236 MB / 1.191 GB, free: 3.961 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003488/1.389, allocations: 119.3 kB / 1.191 GB, free: 3.848 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/1.39, allocations: 196.5 kB / 1.191 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of SimCode: time 8.62e-07/1.39, allocations: 0 / 1.191 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/1.419, allocations: 12.11 MB / 1.203 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/1.419, allocations: 193.6 kB / 1.203 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.729, allocations: 3.938 kB / 1.203 GB, free: 7.68 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)