Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 179.6 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008651/0.0008651, allocations: 98.89 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 9.562 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2754, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7843/1.06, allocations: 165.2 MB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000462/1.06, allocations: 98.33 kB / 1.062 GB, free: 153.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4744/1.535, allocations: 202.2 MB / 1.259 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.627e-06/1.535, allocations: 0 / 1.259 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0009577/1.536, allocations: 144 kB / 1.259 GB, free: 15.85 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02426/1.56, allocations: 5.254 MB / 1.264 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/1.56, allocations: 8.031 kB / 1.264 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005217/1.565, allocations: 0.841 MB / 1.265 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009249/1.575, allocations: 1.136 MB / 1.266 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/1.588, allocations: 3.696 MB / 1.27 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005963/1.589, allocations: 435.5 kB / 1.27 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003107/1.592, allocations: 0.543 MB / 1.271 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03101/1.623, allocations: 8.819 MB / 1.279 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003727/1.623, allocations: 19.78 kB / 1.279 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003132/1.627, allocations: 259.9 kB / 1.28 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005136/1.627, allocations: 303 kB / 1.28 GB, free: 9.973 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0205/1.648, allocations: 6.441 MB / 1.286 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0699/1.718, allocations: 41.45 MB / 1.327 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00575/1.723, allocations: 3.111 MB / 1.33 GB, free: 3.211 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/1.724, allocations: 22 kB / 1.33 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.628e-05/1.724, allocations: 68.42 kB / 1.33 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=209): time 7.043e-06/1.724, allocations: 0 / 1.33 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of matching and sorting (n=212): time 0.02891/1.753, allocations: 10.47 MB / 1.34 GB, free: 8.547 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/1.753, allocations: 81.39 kB / 1.34 GB, free: 8.453 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004212/1.757, allocations: 1.665 MB / 1.342 GB, free: 6.773 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005095/1.758, allocations: 65.7 kB / 1.342 GB, free: 6.703 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002382/1.76, allocations: 2.369 MB / 1.344 GB, free: 4.301 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001117/1.761, allocations: 0.7278 MB / 1.345 GB, free: 3.562 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/1.761, allocations: 52 kB / 1.345 GB, free: 3.512 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003494/1.762, allocations: 419.1 kB / 1.345 GB, free: 3.098 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/1.764, allocations: 1.321 MB / 1.347 GB, free: 1.773 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/1.767, allocations: 2.097 MB / 1.349 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/1.77, allocations: 1.681 MB / 1.35 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/1.77, allocations: 8 kB / 1.35 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.00968/1.78, allocations: 4.973 MB / 1.355 GB, free: 8.637 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/1.78, allocations: 16 kB / 1.355 GB, free: 8.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.724e-05/1.78, allocations: 24 kB / 1.355 GB, free: 8.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/1.784, allocations: 1.538 MB / 1.357 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/1.786, allocations: 439.2 kB / 1.357 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02589/1.812, allocations: 17.66 MB / 1.374 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/1.815, allocations: 147.9 kB / 1.375 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006554/1.816, allocations: 112.2 kB / 1.375 GB, free: 4.172 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (219): * Single equations (assignments): 215 * 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,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005633/1.821, allocations: 1.941 MB / 1.377 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/1.823, allocations: 288.6 kB / 1.377 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5447/2.367, allocations: 4.447 MB / 1.381 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/2.367, allocations: 21.58 kB / 1.381 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-05/2.367, allocations: 21.06 kB / 1.381 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/2.368, allocations: 12.77 kB / 1.381 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02149/2.389, allocations: 9.629 MB / 1.391 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/2.389, allocations: 4.594 kB / 1.391 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/2.391, allocations: 236.8 kB / 1.391 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004386/2.395, allocations: 1.4 MB / 1.392 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002897/2.395, allocations: 41.97 kB / 1.392 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.025/2.42, allocations: 17.69 MB / 1.41 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/2.42, allocations: 14.67 kB / 1.41 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008372/2.429, allocations: 4.868 MB / 1.414 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/2.431, allocations: 0.6338 MB / 1.415 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009602/2.432, allocations: 46.89 kB / 1.415 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/2.434, allocations: 115.7 kB / 1.415 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006414/2.435, allocations: 182.3 kB / 1.415 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/2.435, allocations: 57.62 kB / 1.415 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00186/2.437, allocations: 1.262 MB / 1.417 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/2.437, allocations: 0 / 1.417 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004461/2.441, allocations: 1.174 MB / 1.418 GB, free: 179.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00737/2.449, allocations: 6.595 MB / 1.424 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006695/2.455, allocations: 4.606 MB / 1.429 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.455, allocations: 7.438 kB / 1.429 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004243/2.46, allocations: 2.912 MB / 1.431 GB, free: 176 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/2.464, allocations: 0.7664 MB / 1.432 GB, free: 176 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06113/2.525, allocations: 42.96 MB / 1.474 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008051/2.533, allocations: 3.788 MB / 1.478 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002584/2.536, allocations: 0.5409 MB / 1.478 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002843/2.539, allocations: 1.945 MB / 1.48 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.192e-06/2.539, allocations: 0 / 1.48 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/2.68, allocations: 81.19 MB / 1.56 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/2.68, allocations: 241.5 kB / 1.56 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.218/6.899, allocations: 2.188 kB / 1.56 GB, free: 120.6 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)