Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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 2.904/2.904, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001358/0.001358, allocations: 182.6 kB / 371 MB, free: 10.87 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.118/2.118, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008864/0.0008864, allocations: 92.44 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 11.5 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0492/0.2599, allocations: 34.47 MB / 1.012 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0266/0.2866, allocations: 10.59 MB / 1.022 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003982/0.2906, allocations: 135.2 kB / 1.023 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003886/0.2945, allocations: 0.7596 MB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007729/0.3023, allocations: 1.784 MB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006495/0.3088, allocations: 1.288 MB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01762/0.3265, allocations: 10.36 MB / 1.036 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03304/0.3596, allocations: 12.65 MB / 1.049 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007843/0.3675, allocations: 2.868 MB / 1.052 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009385/0.3769, allocations: 3.777 MB / 1.055 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002311/0.3793, allocations: 344 kB / 1.056 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005012/0.3843, allocations: 0.7064 MB / 1.056 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005721/0.3901, allocations: 2.517 MB / 1.059 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003768/0.3939, allocations: 1.206 MB / 1.06 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.6794/1.073, allocations: 10.17 MB / 1.07 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/1.073, allocations: 0.9688 kB / 1.07 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.815e-06/1.073, allocations: 0 / 1.07 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004729/1.074, allocations: 0 / 1.07 GB, free: 27.22 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02175/1.096, allocations: 5.156 MB / 1.075 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.096, allocations: 9.688 kB / 1.075 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004254/1.1, allocations: 0.8249 MB / 1.076 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/1.111, allocations: 1.068 MB / 1.077 GB, free: 24.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/1.124, allocations: 3.353 MB / 1.08 GB, free: 24.17 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009645/1.125, allocations: 422.7 kB / 1.08 GB, free: 24.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00347/1.129, allocations: 0.543 MB / 1.081 GB, free: 24.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03486/1.164, allocations: 9.326 MB / 1.09 GB, free: 23.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004222/1.164, allocations: 27.31 kB / 1.09 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002853/1.167, allocations: 247.2 kB / 1.09 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001242/1.168, allocations: 416 kB / 1.091 GB, free: 23.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/1.193, allocations: 7.078 MB / 1.098 GB, free: 23.03 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06965/1.263, allocations: 41.35 MB / 1.138 GB, free: 10.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008534/1.272, allocations: 3.1 MB / 1.141 GB, free: 9.812 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005391/1.277, allocations: 2.12 MB / 1.143 GB, free: 8.984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/1.278, allocations: 25.42 kB / 1.143 GB, free: 8.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.65e-05/1.278, allocations: 59.94 kB / 1.143 GB, free: 8.922 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 7.474e-06/1.278, allocations: 0 / 1.143 GB, free: 8.922 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.04379/1.321, allocations: 10.46 MB / 1.153 GB, free: 3.738 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/1.322, allocations: 72.78 kB / 1.154 GB, free: 3.676 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004174/1.326, allocations: 1.986 MB / 1.155 GB, free: 2.586 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005598/1.326, allocations: 65.23 kB / 1.156 GB, free: 2.527 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002438/1.329, allocations: 2.395 MB / 1.158 GB, free: 436 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.33, allocations: 0.7296 MB / 1.159 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/1.331, allocations: 51.56 kB / 1.159 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002886/1.331, allocations: 424.4 kB / 1.159 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003942/1.335, allocations: 1.363 MB / 1.16 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004759/1.34, allocations: 2.094 MB / 1.162 GB, free: 13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004532/1.344, allocations: 1.722 MB / 1.164 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-05/1.344, allocations: 7.875 kB / 1.164 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01588/1.36, allocations: 5.036 MB / 1.169 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/1.36, allocations: 14 kB / 1.169 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.164e-05/1.36, allocations: 21.62 kB / 1.169 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006477/1.367, allocations: 1.565 MB / 1.171 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/1.37, allocations: 462.5 kB / 1.171 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03786/1.408, allocations: 17.07 MB / 1.188 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/1.412, allocations: 147.9 kB / 1.188 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006301/1.413, allocations: 114.5 kB / 1.188 GB, free: 7.629 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005922/1.419, allocations: 1.942 MB / 1.19 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.42, allocations: 284.7 kB / 1.19 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/1.433, allocations: 4.434 MB / 1.194 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-05/1.433, allocations: 20 kB / 1.194 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-05/1.433, allocations: 16 kB / 1.194 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.282e-05/1.433, allocations: 7.969 kB / 1.194 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02875/1.462, allocations: 9.645 MB / 1.204 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-05/1.462, allocations: 4 kB / 1.204 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002182/1.464, allocations: 230.3 kB / 1.204 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006498/1.471, allocations: 1.421 MB / 1.206 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000527/1.472, allocations: 44 kB / 1.206 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03742/1.509, allocations: 17.09 MB / 1.222 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/1.509, allocations: 4 kB / 1.222 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/1.522, allocations: 4.518 MB / 1.227 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/1.525, allocations: 0.6304 MB / 1.227 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000977/1.526, allocations: 43.98 kB / 1.227 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/1.529, allocations: 119.9 kB / 1.227 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000856/1.53, allocations: 184.3 kB / 1.228 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002622/1.53, allocations: 60.25 kB / 1.228 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003297/1.533, allocations: 1.292 MB / 1.229 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.11e-07/1.533, allocations: 4 kB / 1.229 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005955/1.539, allocations: 1.145 MB / 1.23 GB, free: 12.01 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0142/1.554, allocations: 5.132 MB / 1.235 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01397/1.568, allocations: 4.68 MB / 1.24 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.568, allocations: 3.75 kB / 1.24 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.008872/1.577, allocations: 2.928 MB / 1.242 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007483/1.584, allocations: 0.8342 MB / 1.243 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07548/1.66, allocations: 26.18 MB / 1.269 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008613/1.668, allocations: 3.686 MB / 1.272 GB, free: 15.06 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003626/1.672, allocations: 0.5518 MB / 1.273 GB, free: 14.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00454/1.677, allocations: 1.956 MB / 1.275 GB, free: 12.55 MB / 0.823 GB Notification: Performance of SimCode: time 1.502e-06/1.677, allocations: 0 / 1.275 GB, free: 12.55 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2144/1.891, allocations: 82.33 MB / 1.355 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/1.891, allocations: 241.2 kB / 1.356 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.495/7.387, allocations: 0 / 1.356 GB, free: 10.97 MB / 0.9011 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)