Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001246, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.937/1.937, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006505/0.0006506, allocations: 18.22 kB / 0.6738 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.274, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.0128/0.2869, allocations: 10.77 MB / 0.7979 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00876/0.2957, allocations: 5.232 MB / 0.803 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.297, allocations: 31.88 kB / 0.8031 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.2983, allocations: 298 kB / 0.8034 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.3001, allocations: 0.5364 MB / 0.8039 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.3021, allocations: 494.8 kB / 0.8044 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00399/0.3061, allocations: 2.922 MB / 0.8072 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006171/0.3123, allocations: 3.856 MB / 0.811 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.3141, allocations: 0.7785 MB / 0.8117 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.3162, allocations: 1.094 MB / 0.8128 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004965/0.3168, allocations: 100 kB / 0.8129 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.3181, allocations: 319.6 kB / 0.8132 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.3192, allocations: 0.7443 MB / 0.8139 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006721/0.3199, allocations: 364.9 kB / 0.8143 GB, free: 196 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.3233, allocations: 3.281 MB / 0.8175 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3233, allocations: 0 / 0.8175 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3234, allocations: 0 / 0.8175 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001224/0.3235, allocations: 0 / 0.8175 GB, free: 12.9 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004562/0.3281, allocations: 1.777 MB / 0.8192 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3281, allocations: 8.031 kB / 0.8192 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008758/0.329, allocations: 260.7 kB / 0.8195 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/0.3324, allocations: 0.7509 MB / 0.8202 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.3352, allocations: 1.231 MB / 0.8214 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.3353, allocations: 115.2 kB / 0.8215 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005646/0.3359, allocations: 163.9 kB / 0.8217 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005745/0.3416, allocations: 2.95 MB / 0.8246 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.262e-05/0.3417, allocations: 3.938 kB / 0.8246 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/0.342, allocations: 67.98 kB / 0.8246 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004041/0.3424, allocations: 203 kB / 0.8248 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004746/0.3471, allocations: 2.507 MB / 0.8273 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/0.3628, allocations: 10.91 MB / 0.8379 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.3642, allocations: 0.9235 MB / 0.8388 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/0.3649, allocations: 0.5051 MB / 0.8393 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.3651, allocations: 89.47 kB / 0.8394 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.3651, allocations: 42.88 kB / 0.8394 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 2.154e-06/0.3651, allocations: 0 / 0.8394 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.02826/0.3934, allocations: 8.971 MB / 0.8482 GB, free: 12.22 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.3935, allocations: 89.61 kB / 0.8483 GB, free: 12.11 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.3951, allocations: 0.9454 MB / 0.8492 GB, free: 11.16 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.3952, allocations: 33.7 kB / 0.8492 GB, free: 11.12 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/0.3958, allocations: 0.7697 MB / 0.85 GB, free: 10.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.3961, allocations: 248.5 kB / 0.8502 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-05/0.3962, allocations: 20 kB / 0.8503 GB, free: 10.07 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.3964, allocations: 398.7 kB / 0.8506 GB, free: 9.672 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.3977, allocations: 0.795 MB / 0.8514 GB, free: 8.875 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.3992, allocations: 1.16 MB / 0.8525 GB, free: 7.559 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.4007, allocations: 0.9946 MB / 0.8535 GB, free: 6.562 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-06/0.4007, allocations: 7.938 kB / 0.8535 GB, free: 6.555 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00953/0.4102, allocations: 3.783 MB / 0.8572 GB, free: 2.754 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003789/0.4106, allocations: 417.2 kB / 0.8576 GB, free: 2.195 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.4107, allocations: 12 kB / 0.8576 GB, free: 2.184 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007799/0.4185, allocations: 2.158 MB / 0.8597 GB, free: 20 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009617/0.4195, allocations: 239.7 kB / 0.86 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/0.4353, allocations: 10.26 MB / 0.87 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.4368, allocations: 203.5 kB / 0.8702 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.437, allocations: 44 kB / 0.8702 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.4371, allocations: 4 kB / 0.8702 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00766/0.4447, allocations: 3.076 MB / 0.8732 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/0.4448, allocations: 12 kB / 0.8732 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005007/0.4498, allocations: 1.358 MB / 0.8746 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.451, allocations: 291.5 kB / 0.8748 GB, free: 288 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.4613, allocations: 6.155 MB / 0.8808 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.4626, allocations: 167.7 kB / 0.881 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.4628, allocations: 47.95 kB / 0.8811 GB, free: 9.777 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001543/0.4644, allocations: 0.8986 MB / 0.8819 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.4647, allocations: 86.97 kB / 0.882 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00857/0.4733, allocations: 3.324 MB / 0.8853 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.4733, allocations: 8 kB / 0.8853 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.4733, allocations: 11.95 kB / 0.8853 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.4734, allocations: 3.984 kB / 0.8853 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.4858, allocations: 5.501 MB / 0.8907 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.4859, allocations: 0 / 0.8907 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.4863, allocations: 103.8 kB / 0.8908 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00703/0.4934, allocations: 1.986 MB / 0.8927 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.4935, allocations: 12 kB / 0.8927 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01397/0.5075, allocations: 9.666 MB / 0.9021 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.5076, allocations: 8 kB / 0.9022 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008143/0.5157, allocations: 3.198 MB / 0.9053 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007086/0.5165, allocations: 335.9 kB / 0.9056 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.5168, allocations: 16 kB / 0.9056 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.5178, allocations: 147.8 kB / 0.9058 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.5182, allocations: 60.41 kB / 0.9058 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/0.5183, allocations: 28 kB / 0.9058 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001275/0.5195, allocations: 0.6707 MB / 0.9065 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5196, allocations: 0 / 0.9065 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003274/0.5228, allocations: 0.6992 MB / 0.9072 GB, free: 14.54 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.008696/0.5315, allocations: 3.809 MB / 0.9109 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007823/0.5394, allocations: 3.9 MB / 0.9147 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.5395, allocations: 2 kB / 0.9147 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002326/0.5418, allocations: 1.317 MB / 0.916 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.5437, allocations: 269.6 kB / 0.9162 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4295/0.9732, allocations: 11.41 MB / 0.9274 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/0.9757, allocations: 1.721 MB / 0.9291 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001801/0.9775, allocations: 0.5096 MB / 0.9296 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006953/0.9782, allocations: 0.5042 MB / 0.9301 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.513e-06/0.9782, allocations: 2.25 kB / 0.9301 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0637/1.042, allocations: 41.84 MB / 0.9709 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.042, allocations: 261.8 kB / 0.9712 GB, free: 105.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/3.47, allocations: 0 / 0.9712 GB, free: 105.1 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) Environment - environmentSimulation: