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.001316/0.001316, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00147/0.00147, allocations: 177.3 kB / 15.94 MB, free: 228 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.669/1.669, allocations: 205.4 MB / 222.1 MB, free: 5.492 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 2.193/2.193, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.001021/0.001022, allocations: 11.91 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3037, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01184/0.3156, allocations: 10.43 MB / 0.7974 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00843/0.324, allocations: 5.17 MB / 0.8025 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.3253, allocations: 27.88 kB / 0.8025 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3263, allocations: 330.2 kB / 0.8028 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.328, allocations: 0.5452 MB / 0.8034 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.3297, allocations: 0.5956 MB / 0.8039 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.3318, allocations: 1.209 MB / 0.8051 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005535/0.3373, allocations: 3.854 MB / 0.8089 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.3385, allocations: 0.6425 MB / 0.8095 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.3395, allocations: 0.7436 MB / 0.8102 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.3397, allocations: 100 kB / 0.8103 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.3408, allocations: 323.7 kB / 0.8106 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006469/0.3414, allocations: 0.6938 MB / 0.8113 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.3418, allocations: 364.9 kB / 0.8117 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.345, allocations: 3.257 MB / 0.8148 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.345, allocations: 0 / 0.8148 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.675e-06/0.345, allocations: 0 / 0.8148 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.968e-05/0.3451, allocations: 0 / 0.8148 GB, free: 15.47 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.003864/0.349, allocations: 1.773 MB / 0.8166 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.349, allocations: 12.03 kB / 0.8166 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004485/0.3495, allocations: 260.7 kB / 0.8168 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/0.3528, allocations: 0.7665 MB / 0.8176 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.3556, allocations: 1.239 MB / 0.8188 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.625e-05/0.3557, allocations: 119.2 kB / 0.8189 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.356, allocations: 156 kB / 0.8191 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004824/0.3609, allocations: 2.932 MB / 0.8219 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/0.3609, allocations: 3.984 kB / 0.8219 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.3611, allocations: 71.98 kB / 0.822 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004314/0.3616, allocations: 199 kB / 0.8222 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004476/0.3661, allocations: 2.507 MB / 0.8246 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.3807, allocations: 10.91 MB / 0.8353 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.3821, allocations: 0.9257 MB / 0.8362 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.3823, allocations: 85.48 kB / 0.8363 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3823, allocations: 42.88 kB / 0.8363 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 2.635e-06/0.3823, allocations: 4 kB / 0.8363 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.0271/0.4095, allocations: 8.969 MB / 0.8451 GB, free: 15.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.4096, allocations: 85.67 kB / 0.8451 GB, free: 15.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.4112, allocations: 0.9415 MB / 0.8461 GB, free: 14.25 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.4113, allocations: 33.7 kB / 0.8461 GB, free: 14.21 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/0.4119, allocations: 0.7736 MB / 0.8469 GB, free: 13.42 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.4122, allocations: 248.5 kB / 0.8471 GB, free: 13.17 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.4122, allocations: 20 kB / 0.8471 GB, free: 13.15 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4124, allocations: 398.7 kB / 0.8475 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.4137, allocations: 0.7989 MB / 0.8483 GB, free: 11.95 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.4153, allocations: 1.152 MB / 0.8494 GB, free: 10.64 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.4169, allocations: 0.9946 MB / 0.8504 GB, free: 9.648 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.417, allocations: 4 kB / 0.8504 GB, free: 9.645 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009925/0.4269, allocations: 3.787 MB / 0.8541 GB, free: 5.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.002218/0.4292, allocations: 4.265 MB / 0.8582 GB, free: 1.242 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.4292, allocations: 12 kB / 0.8582 GB, free: 1.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008646/0.4379, allocations: 2.166 MB / 0.8604 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.439, allocations: 231.5 kB / 0.8606 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/0.4574, allocations: 10.66 MB / 0.871 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.4594, allocations: 207.6 kB / 0.8712 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.4595, allocations: 47.98 kB / 0.8712 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4595, allocations: 4 kB / 0.8712 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01065/0.4702, allocations: 3.072 MB / 0.8742 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.022e-05/0.4703, allocations: 12 kB / 0.8743 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005633/0.476, allocations: 1.365 MB / 0.8756 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.4772, allocations: 287.5 kB / 0.8759 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.4897, allocations: 6.381 MB / 0.8821 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.4918, allocations: 171.7 kB / 0.8823 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.492, allocations: 48 kB / 0.8823 GB, free: 8.18 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.002093/0.4941, allocations: 0.8947 MB / 0.8832 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.4943, allocations: 86.97 kB / 0.8833 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.5047, allocations: 3.331 MB / 0.8865 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.5047, allocations: 8 kB / 0.8865 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.5048, allocations: 4 kB / 0.8865 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.5048, allocations: 3.984 kB / 0.8865 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/0.519, allocations: 5.493 MB / 0.8919 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.5191, allocations: 7.938 kB / 0.8919 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/0.5195, allocations: 116.1 kB / 0.892 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008587/0.5281, allocations: 1.983 MB / 0.8939 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.5283, allocations: 12 kB / 0.894 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/0.5446, allocations: 10.08 MB / 0.9038 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5447, allocations: 0 / 0.9038 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008579/0.5533, allocations: 3.297 MB / 0.907 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008914/0.5542, allocations: 332 kB / 0.9073 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.5544, allocations: 16 kB / 0.9074 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008948/0.5553, allocations: 155.7 kB / 0.9075 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/0.5556, allocations: 64.42 kB / 0.9076 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.5557, allocations: 24 kB / 0.9076 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009678/0.5566, allocations: 0.6707 MB / 0.9082 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5566, allocations: 0 / 0.9082 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002399/0.559, allocations: 0.6992 MB / 0.9089 GB, free: 12.38 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.008877/0.5679, allocations: 4.45 MB / 0.9133 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00794/0.5759, allocations: 3.909 MB / 0.9171 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.576, allocations: 0 / 0.9171 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.5782, allocations: 1.325 MB / 0.9184 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.5795, allocations: 251.1 kB / 0.9186 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6481/1.228, allocations: 18.56 MB / 0.9367 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/1.23, allocations: 1.757 MB / 0.9385 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001712/1.231, allocations: 0.5086 MB / 0.939 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006695/1.232, allocations: 0.4998 MB / 0.9394 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.463e-06/1.232, allocations: 0 / 0.9394 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08985/1.322, allocations: 41.83 MB / 0.9803 GB, free: 96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/1.322, allocations: 240.3 kB / 0.9805 GB, free: 95.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/4.334, allocations: 0 / 0.9805 GB, free: 95.76 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: