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.801/1.801, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001294/0.001294, allocations: 183.8 kB / 361.4 MB, free: 6.883 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.994/1.994, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.000928/0.0009275, allocations: 98.88 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.598e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.829/0.829, allocations: 115.3 MB / 0.9645 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/1.137, allocations: 191.9 MB / 1.152 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/1.137, allocations: 93.94 kB / 1.152 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.1794/1.316, allocations: 66.06 MB / 1.216 GB, free: 9.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.506e-06/1.317, allocations: 0 / 1.216 GB, free: 9.18 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001914/1.317, allocations: 47.86 kB / 1.217 GB, free: 9.133 MB / 0.823 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.005996/1.323, allocations: 1.673 MB / 1.218 GB, free: 7.41 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 7.198e-05/1.323, allocations: 12.03 kB / 1.218 GB, free: 7.398 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/1.328, allocations: 0.6583 MB / 1.219 GB, free: 6.738 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/1.332, allocations: 1.242 MB / 1.22 GB, free: 5.449 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/1.332, allocations: 48 kB / 1.22 GB, free: 5.402 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008721/1.333, allocations: 92 kB / 1.22 GB, free: 5.312 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005421/1.338, allocations: 1.947 MB / 1.222 GB, free: 3.363 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007135/1.345, allocations: 2.37 MB / 1.224 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.909e-05/1.345, allocations: 4 kB / 1.224 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005012/1.346, allocations: 4 kB / 1.224 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/1.346, allocations: 91.22 kB / 1.224 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/1.363, allocations: 10.51 MB / 1.235 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/1.364, allocations: 0.7229 MB / 1.235 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007662/1.365, allocations: 0.4974 MB / 1.236 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/1.365, allocations: 97.45 kB / 1.236 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/1.365, allocations: 34.94 kB / 1.236 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 2.494e-06/1.365, allocations: 0 / 1.236 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72): time 0.01114/1.376, allocations: 4.374 MB / 1.24 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/1.376, allocations: 85.89 kB / 1.24 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/1.378, allocations: 0.7609 MB / 1.241 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.378, allocations: 25.7 kB / 1.241 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000676/1.379, allocations: 0.7736 MB / 1.242 GB, free: 14 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/1.379, allocations: 248.4 kB / 1.242 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-05/1.379, allocations: 0 / 1.242 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002298/1.379, allocations: 390.8 kB / 1.243 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/1.38, allocations: 0.7482 MB / 1.243 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/1.382, allocations: 1.099 MB / 1.244 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/1.384, allocations: 1.074 MB / 1.245 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/1.384, allocations: 4 kB / 1.245 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.007398/1.391, allocations: 3.248 MB / 1.249 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00199/1.393, allocations: 4.262 MB / 1.253 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/1.393, allocations: 13.64 kB / 1.253 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005137/1.398, allocations: 1.409 MB / 1.254 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009884/1.399, allocations: 223.6 kB / 1.254 GB, free: 0.7773 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5903/1.99, allocations: 7.009 MB / 1.261 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.991, allocations: 168.8 kB / 1.261 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/1.991, allocations: 53.61 kB / 1.261 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.991, allocations: 4.062 kB / 1.261 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002728/1.994, allocations: 1.667 MB / 1.263 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.994, allocations: 11.06 kB / 1.263 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/1.994, allocations: 18.03 kB / 1.263 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.995, allocations: 346.9 kB / 1.263 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/1.995, allocations: 25.48 kB / 1.263 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008555/1.996, allocations: 121.7 kB / 1.264 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/1.996, allocations: 43 kB / 1.264 GB, free: 211.6 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002959/1.996, allocations: 146.2 kB / 1.264 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006339/2.003, allocations: 2.85 MB / 1.266 GB, free: 211.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/2.003, allocations: 83.62 kB / 1.267 GB, free: 211.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006868/2.01, allocations: 3 MB / 1.269 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/2.01, allocations: 7.656 kB / 1.269 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/2.01, allocations: 14.22 kB / 1.27 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/2.01, allocations: 3.234 kB / 1.27 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/2.021, allocations: 5.282 MB / 1.275 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/2.022, allocations: 3.328 kB / 1.275 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/2.022, allocations: 110.2 kB / 1.275 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005668/2.028, allocations: 1.61 MB / 1.276 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/2.028, allocations: 3.422 kB / 1.276 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/2.042, allocations: 9.148 MB / 1.285 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/2.042, allocations: 2.781 kB / 1.285 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007288/2.05, allocations: 2.985 MB / 1.288 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007974/2.051, allocations: 326.8 kB / 1.289 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/2.051, allocations: 6.969 kB / 1.289 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/2.052, allocations: 173 kB / 1.289 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003528/2.052, allocations: 67.41 kB / 1.289 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/2.052, allocations: 19.94 kB / 1.289 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009145/2.053, allocations: 0.5858 MB / 1.289 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/2.053, allocations: 3.312 kB / 1.289 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002879/2.056, allocations: 0.6099 MB / 1.29 GB, free: 206.1 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.008007/2.064, allocations: 4.184 MB / 1.294 GB, free: 204 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005744/2.07, allocations: 2.912 MB / 1.297 GB, free: 203 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/2.07, allocations: 1.062 kB / 1.297 GB, free: 203 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002831/2.073, allocations: 1.329 MB / 1.298 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/2.074, allocations: 197.2 kB / 1.298 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007144/2.081, allocations: 3.306 MB / 1.302 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/2.083, allocations: 1.756 MB / 1.303 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001767/2.085, allocations: 0.6328 MB / 1.304 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005996/2.085, allocations: 0.5009 MB / 1.304 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.402e-06/2.085, allocations: 2.531 kB / 1.304 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06325/2.149, allocations: 35.99 MB / 1.34 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/2.149, allocations: 180.5 kB / 1.34 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/4.762, allocations: 0 / 1.34 GB, free: 198.2 MB / 0.8542 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)