Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.401/1.401, allocations: 288.4 MB / 303.6 MB, free: 8.117 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.000932/0.000932, allocations: 187.3 kB / 372.3 MB, free: 10.09 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.108/1.108, allocations: 205.4 MB / 0.631 GB, free: 9.785 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.0006672/0.0006672, allocations: 94.88 kB / 0.7444 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 13.25 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1511, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01381/0.1649, allocations: 10.78 MB / 0.9907 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00984/0.1749, allocations: 5.224 MB / 0.9958 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.1764, allocations: 31.88 kB / 0.9959 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.178, allocations: 298.1 kB / 0.9961 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.1804, allocations: 0.5558 MB / 0.9967 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.1823, allocations: 0.5201 MB / 0.9972 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003262/0.1856, allocations: 2.942 MB / 1 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006651/0.1923, allocations: 4.296 MB / 1.004 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.1936, allocations: 0.7746 MB / 1.005 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.1949, allocations: 1.086 MB / 1.006 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.1951, allocations: 100 kB / 1.006 GB, free: 480 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.1961, allocations: 0.4953 MB / 1.007 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007845/0.1969, allocations: 0.7482 MB / 1.007 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008951/0.1978, allocations: 0.8262 MB / 1.008 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003346/0.2012, allocations: 3.265 MB / 1.011 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2012, allocations: 4 kB / 1.011 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.667e-06/0.2012, allocations: 0 / 1.011 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.226e-05/0.2013, allocations: 3.938 kB / 1.011 GB, free: 11.11 MB / 0.6355 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.003564/0.2048, allocations: 1.753 MB / 1.013 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2049, allocations: 8.031 kB / 1.013 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004215/0.2053, allocations: 264.9 kB / 1.013 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/0.2084, allocations: 0.7479 MB / 1.014 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.2109, allocations: 1.251 MB / 1.015 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.735e-05/0.211, allocations: 119.6 kB / 1.015 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/0.2113, allocations: 159.9 kB / 1.016 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005065/0.2164, allocations: 2.944 MB / 1.018 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/0.2164, allocations: 11.84 kB / 1.018 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/0.2166, allocations: 67.98 kB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004313/0.2171, allocations: 211 kB / 1.019 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004216/0.2213, allocations: 2.495 MB / 1.021 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.236, allocations: 10.9 MB / 1.032 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.2374, allocations: 0.9216 MB / 1.033 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007228/0.2382, allocations: 0.504 MB / 1.033 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.2384, allocations: 97.45 kB / 1.033 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.2384, allocations: 38.94 kB / 1.033 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 2.455e-06/0.2384, allocations: 0 / 1.033 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.02836/0.2668, allocations: 8.979 MB / 1.042 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.2669, allocations: 89.67 kB / 1.042 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.2686, allocations: 0.9376 MB / 1.043 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.2687, allocations: 37.7 kB / 1.043 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006835/0.2694, allocations: 0.7736 MB / 1.044 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.2697, allocations: 252.5 kB / 1.044 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.2698, allocations: 20 kB / 1.044 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.27, allocations: 394.8 kB / 1.045 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.2713, allocations: 0.8028 MB / 1.045 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.2729, allocations: 1.156 MB / 1.046 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.2759, allocations: 2.001 MB / 1.048 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.276, allocations: 4 kB / 1.048 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0104/0.2864, allocations: 3.783 MB / 1.052 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003134/0.2867, allocations: 425.1 kB / 1.053 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.2867, allocations: 8 kB / 1.053 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009449/0.2962, allocations: 2.157 MB / 1.055 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.2974, allocations: 231.6 kB / 1.055 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/0.3155, allocations: 10.25 MB / 1.065 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.3172, allocations: 199.6 kB / 1.065 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/0.3174, allocations: 47.98 kB / 1.065 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3175, allocations: 5.25 kB / 1.065 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.401/0.7185, allocations: 3.072 MB / 1.068 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.777e-05/0.7186, allocations: 10.91 kB / 1.068 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008808/0.7274, allocations: 1.359 MB / 1.069 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.7291, allocations: 290.9 kB / 1.07 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/0.7459, allocations: 6.151 MB / 1.076 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.7478, allocations: 168.8 kB / 1.076 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/0.748, allocations: 49.56 kB / 1.076 GB, free: 80.18 MB / 0.6823 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.001897/0.7499, allocations: 0.901 MB / 1.077 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.7503, allocations: 91.78 kB / 1.077 GB, free: 79.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/0.7649, allocations: 3.317 MB / 1.08 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.7649, allocations: 7.188 kB / 1.08 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.765, allocations: 9.578 kB / 1.08 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/0.765, allocations: 7.578 kB / 1.08 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02032/0.7853, allocations: 5.48 MB / 1.086 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.7854, allocations: 1.062 kB / 1.086 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000739/0.7862, allocations: 107 kB / 1.086 GB, free: 76.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01195/0.7981, allocations: 1.98 MB / 1.088 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/0.7983, allocations: 16.69 kB / 1.088 GB, free: 76.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/0.8164, allocations: 9.652 MB / 1.097 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.8165, allocations: 7.125 kB / 1.097 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008494/0.825, allocations: 3.204 MB / 1.1 GB, free: 69.63 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000751/0.8257, allocations: 335.9 kB / 1.1 GB, free: 69.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.826, allocations: 12.91 kB / 1.1 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.827, allocations: 148.9 kB / 1.101 GB, free: 69.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/0.8274, allocations: 64.5 kB / 1.101 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.282e-05/0.8274, allocations: 23.73 kB / 1.101 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001069/0.8285, allocations: 0.6714 MB / 1.101 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8285, allocations: 3.375 kB / 1.101 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00257/0.8311, allocations: 0.6815 MB / 1.102 GB, free: 68.84 MB / 0.6823 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.008798/0.8399, allocations: 3.803 MB / 1.106 GB, free: 66.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007492/0.8474, allocations: 3.915 MB / 1.11 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.8475, allocations: 0 / 1.11 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002217/0.8497, allocations: 1.306 MB / 1.111 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.8517, allocations: 247.1 kB / 1.111 GB, free: 63.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02214/0.8738, allocations: 11.42 MB / 1.122 GB, free: 56.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.8755, allocations: 1.721 MB / 1.124 GB, free: 55.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001344/0.8768, allocations: 0.515 MB / 1.124 GB, free: 55.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005979/0.8775, allocations: 0.4991 MB / 1.125 GB, free: 54.64 MB / 0.6823 GB Notification: Performance of SimCode: time 7.92e-07/0.8775, allocations: 0 / 1.125 GB, free: 54.64 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08924/0.9667, allocations: 41.68 MB / 1.166 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.9669, allocations: 253.8 kB / 1.166 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/4.048, allocations: 0 / 1.166 GB, free: 13.62 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)