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.ACLine_L_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.ACLine_L_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.695/1.695, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001065/0.001065, allocations: 180.9 kB / 361.4 MB, free: 6.824 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.586/1.586, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008539/0.000854, allocations: 96.34 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.07e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.721/0.7211, allocations: 115.3 MB / 0.9645 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2513/0.9724, allocations: 170.4 MB / 1.131 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.9728, allocations: 93.58 kB / 1.131 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.064/2.036, allocations: 198.4 MB / 1.325 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.457e-06/2.036, allocations: 3.344 kB / 1.325 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004586/2.037, allocations: 138.6 kB / 1.325 GB, free: 183.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01617/2.053, allocations: 4.45 MB / 1.329 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/2.053, allocations: 10.97 kB / 1.329 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007929/2.061, allocations: 1.047 MB / 1.33 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009129/2.07, allocations: 3.4 MB / 1.334 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/2.071, allocations: 180.1 kB / 1.334 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00368/2.074, allocations: 328.1 kB / 1.334 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01669/2.091, allocations: 5.44 MB / 1.339 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/2.113, allocations: 7.676 MB / 1.347 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002177/2.113, allocations: 30.62 kB / 1.347 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000655/2.113, allocations: 14.34 kB / 1.347 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003595/2.114, allocations: 316 kB / 1.347 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03648/2.15, allocations: 38.96 MB / 1.385 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/2.153, allocations: 3.01 MB / 1.388 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/2.156, allocations: 1.892 MB / 1.39 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.955e-05/2.156, allocations: 16.72 kB / 1.39 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/2.156, allocations: 56.19 kB / 1.39 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 5.36e-06/2.156, allocations: 3.094 kB / 1.39 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.01001/2.166, allocations: 5.788 MB / 1.396 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/2.166, allocations: 75.27 kB / 1.396 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/2.168, allocations: 1.09 MB / 1.397 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/2.168, allocations: 29.3 kB / 1.397 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009878/2.169, allocations: 2.252 MB / 1.399 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000433/2.169, allocations: 0.603 MB / 1.4 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/2.169, allocations: 0 / 1.4 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001186/2.169, allocations: 395.6 kB / 1.4 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/2.171, allocations: 1.104 MB / 1.401 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/2.172, allocations: 1.773 MB / 1.403 GB, free: 132 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/2.174, allocations: 1.438 MB / 1.404 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/2.174, allocations: 5.75 kB / 1.404 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00626/2.18, allocations: 4.223 MB / 1.408 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/2.18, allocations: 13.78 kB / 1.408 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/2.18, allocations: 20.69 kB / 1.408 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00316/2.183, allocations: 1.453 MB / 1.41 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/2.184, allocations: 344.6 kB / 1.41 GB, free: 128 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/2.201, allocations: 16.41 MB / 1.426 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/2.203, allocations: 75.91 kB / 1.426 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/2.203, allocations: 99.98 kB / 1.426 GB, free: 111 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003546/2.204, allocations: 148.4 kB / 1.427 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005556/2.209, allocations: 3.676 MB / 1.43 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004676/2.21, allocations: 213.6 kB / 1.43 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005679/2.216, allocations: 3.847 MB / 1.434 GB, free: 103 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/2.216, allocations: 16 kB / 1.434 GB, free: 103 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/2.216, allocations: 23.95 kB / 1.434 GB, free: 103 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/2.216, allocations: 7.969 kB / 1.434 GB, free: 103 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/2.229, allocations: 8.349 MB / 1.442 GB, free: 94.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/2.23, allocations: 4 kB / 1.442 GB, free: 94.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000826/2.23, allocations: 185.1 kB / 1.442 GB, free: 94.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00293/2.233, allocations: 1.323 MB / 1.444 GB, free: 92.97 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/2.234, allocations: 8 kB / 1.444 GB, free: 92.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/2.249, allocations: 15.32 MB / 1.459 GB, free: 77.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/2.249, allocations: 4 kB / 1.459 GB, free: 77.19 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005879/2.255, allocations: 4.145 MB / 1.463 GB, free: 72.86 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/2.257, allocations: 0.5101 MB / 1.463 GB, free: 72.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/2.257, allocations: 11.98 kB / 1.463 GB, free: 72.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008792/2.258, allocations: 55.91 kB / 1.463 GB, free: 72.26 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004682/2.258, allocations: 161.7 kB / 1.463 GB, free: 72.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.78e-05/2.258, allocations: 51.98 kB / 1.464 GB, free: 72.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00101/2.259, allocations: 0.8022 MB / 1.464 GB, free: 71.26 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/2.259, allocations: 0 / 1.464 GB, free: 71.26 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00361/2.263, allocations: 0.9297 MB / 1.465 GB, free: 70.33 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005827/2.269, allocations: 5.889 MB / 1.471 GB, free: 64.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005682/2.275, allocations: 3.982 MB / 1.475 GB, free: 60.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/2.275, allocations: 4.125 kB / 1.475 GB, free: 60.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00379/2.278, allocations: 2.502 MB / 1.477 GB, free: 57.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/2.282, allocations: 0.6284 MB / 1.478 GB, free: 57.13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/2.3, allocations: 8.1 MB / 1.486 GB, free: 48.91 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/2.303, allocations: 3.664 MB / 1.489 GB, free: 45.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001611/2.305, allocations: 452.8 kB / 1.49 GB, free: 44.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/2.307, allocations: 1.792 MB / 1.492 GB, free: 43.01 MB / 0.8542 GB Notification: Performance of SimCode: time 1.343e-06/2.307, allocations: 0 / 1.492 GB, free: 43.01 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1218/2.429, allocations: 68.28 MB / 1.558 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/2.429, allocations: 180.5 kB / 1.558 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.391/5.82, allocations: 0 / 1.558 GB, free: 7.137 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)