Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.0012/0.0012, allocations: 176.8 kB / 366.7 MB, free: 1.645 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.561/1.561, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008232/0.0008232, allocations: 93.19 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.989e-05/1.991e-05, allocations: 8 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6929, allocations: 116.3 MB / 0.9734 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/0.9378, allocations: 186.3 MB / 1.155 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.9382, allocations: 92.78 kB / 1.155 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.342/2.28, allocations: 353 MB / 1.5 GB, free: 40.24 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.595e-06/2.28, allocations: 0 / 1.5 GB, free: 40.24 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005885/2.281, allocations: 167.9 kB / 1.5 GB, free: 40.07 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02141/2.302, allocations: 5.546 MB / 1.506 GB, free: 34.46 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/2.302, allocations: 12.03 kB / 1.506 GB, free: 34.45 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/2.317, allocations: 1.763 MB / 1.507 GB, free: 32.67 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/2.33, allocations: 5.047 MB / 1.512 GB, free: 27.55 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/2.33, allocations: 199.9 kB / 1.513 GB, free: 27.35 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003053/2.333, allocations: 351.9 kB / 1.513 GB, free: 27.01 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0159/2.349, allocations: 6.835 MB / 1.52 GB, free: 20.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/2.375, allocations: 8.983 MB / 1.528 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003158/2.375, allocations: 39.56 kB / 1.528 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002039/2.377, allocations: 16 kB / 1.528 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003732/2.378, allocations: 380.1 kB / 1.529 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06368/2.441, allocations: 45.11 MB / 1.573 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006265/2.448, allocations: 4.042 MB / 1.577 GB, free: 5.383 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005291/2.453, allocations: 3.451 MB / 1.58 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003245/2.453, allocations: 34.78 kB / 1.58 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/2.454, allocations: 73.28 kB / 1.58 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=353): time 5.651e-06/2.454, allocations: 4 kB / 1.58 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of matching and sorting (n=578): time 0.7255/3.179, allocations: 37.27 MB / 1.617 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/3.179, allocations: 114.3 kB / 1.617 GB, free: 181.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003724/3.183, allocations: 1.825 MB / 1.619 GB, free: 181 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001389/3.184, allocations: 29.27 kB / 1.619 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002098/3.186, allocations: 2.707 MB / 1.621 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002731/3.189, allocations: 1.876 MB / 1.623 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/3.19, allocations: 7.234 kB / 1.623 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003584/3.19, allocations: 0.5261 MB / 1.624 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005619/3.196, allocations: 3.613 MB / 1.627 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007303/3.203, allocations: 4.691 MB / 1.632 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006467/3.209, allocations: 4.415 MB / 1.636 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.718e-05/3.209, allocations: 7.375 kB / 1.636 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.0342/3.244, allocations: 15.17 MB / 1.651 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/3.244, allocations: 17.19 kB / 1.651 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.581e-05/3.244, allocations: 34.25 kB / 1.651 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02526/3.269, allocations: 7.311 MB / 1.658 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/3.272, allocations: 0.5576 MB / 1.659 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09239/3.364, allocations: 65.15 MB / 1.722 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00602/3.37, allocations: 126.1 kB / 1.722 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/3.372, allocations: 201.8 kB / 1.722 GB, free: 152.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001042/3.373, allocations: 196.8 kB / 1.723 GB, free: 152 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03234/3.405, allocations: 14.37 MB / 1.737 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001958/3.407, allocations: 450.5 kB / 1.737 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03196/3.439, allocations: 15.15 MB / 1.752 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.17e-05/3.439, allocations: 60.14 kB / 1.752 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001404/3.439, allocations: 70.25 kB / 1.752 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001154/3.439, allocations: 29.91 kB / 1.752 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04756/3.487, allocations: 22.29 MB / 1.774 GB, free: 132.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-05/3.487, allocations: 7.375 kB / 1.774 GB, free: 132.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/3.489, allocations: 320.3 kB / 1.774 GB, free: 132.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02104/3.51, allocations: 6.731 MB / 1.781 GB, free: 131.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001347/3.511, allocations: 19.19 kB / 1.781 GB, free: 131.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07468/3.586, allocations: 62.25 MB / 1.842 GB, free: 86.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/3.586, allocations: 10.44 kB / 1.842 GB, free: 86.33 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03623/3.622, allocations: 20.15 MB / 1.861 GB, free: 68.78 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004076/3.627, allocations: 1.236 MB / 1.862 GB, free: 67.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/3.628, allocations: 16 kB / 1.862 GB, free: 67.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003596/3.632, allocations: 148 kB / 1.863 GB, free: 67.55 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00196/3.634, allocations: 0.5249 MB / 1.863 GB, free: 67.22 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003934/3.634, allocations: 136 kB / 1.863 GB, free: 67.09 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002033/3.636, allocations: 1.334 MB / 1.865 GB, free: 65.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.51e-07/3.636, allocations: 4 kB / 1.865 GB, free: 65.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01001/3.646, allocations: 2.038 MB / 1.867 GB, free: 63.87 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03507/3.681, allocations: 22.51 MB / 1.889 GB, free: 43.93 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02342/3.705, allocations: 12.99 MB / 1.901 GB, free: 32.08 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/3.705, allocations: 8.062 kB / 1.901 GB, free: 32.07 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01656/3.721, allocations: 8.492 MB / 1.91 GB, free: 24.44 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006345/3.728, allocations: 0.9769 MB / 1.91 GB, free: 23.71 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03256/3.76, allocations: 14.41 MB / 1.925 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007179/3.768, allocations: 5.021 MB / 1.929 GB, free: 7.359 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002988/3.771, allocations: 0.7275 MB / 1.93 GB, free: 6.855 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002909/3.774, allocations: 2.578 MB / 1.933 GB, free: 4.465 MB / 0.9323 GB Notification: Performance of SimCode: time 9.92e-07/3.774, allocations: 0 / 1.933 GB, free: 4.465 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9484/4.722, allocations: 170.1 MB / 2.099 GB, free: 180.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/4.722, allocations: 178 kB / 2.099 GB, free: 180.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.68/11.4, allocations: 0 / 2.099 GB, free: 180.5 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)