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_RLC_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_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.563/1.563, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001163/0.001162, allocations: 179 kB / 326.5 MB, free: 2.254 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.023/2.023, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.001112/0.001112, allocations: 86.31 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004255, allocations: 11.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2661, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8715/1.138, allocations: 179.7 MB / 1.076 GB, free: 64.86 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004078/1.138, allocations: 96.06 kB / 1.076 GB, free: 64.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.385/2.523, allocations: 320.8 MB / 1.389 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.675e-06/2.523, allocations: 0 / 1.389 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006898/2.524, allocations: 174.4 kB / 1.389 GB, free: 152.1 MB / 0.8698 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.03383/2.558, allocations: 6.137 MB / 1.395 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.271e-05/2.558, allocations: 8.75 kB / 1.395 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007384/2.565, allocations: 0.8999 MB / 1.396 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01847/2.584, allocations: 1.773 MB / 1.398 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02132/2.605, allocations: 5.046 MB / 1.403 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001328/2.607, allocations: 455.4 kB / 1.403 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005354/2.612, allocations: 0.6 MB / 1.404 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03859/2.651, allocations: 9.986 MB / 1.414 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006191/2.651, allocations: 25.41 kB / 1.414 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00376/2.655, allocations: 270.5 kB / 1.414 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005924/2.656, allocations: 376.8 kB / 1.414 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02182/2.678, allocations: 7.842 MB / 1.422 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0741/2.752, allocations: 46.38 MB / 1.467 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006139/2.758, allocations: 4.2 MB / 1.471 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/2.759, allocations: 38.78 kB / 1.471 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/2.759, allocations: 75.59 kB / 1.471 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=353): time 5.3e-06/2.759, allocations: 0 / 1.471 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=578): time 0.4362/3.195, allocations: 106.4 MB / 1.575 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/3.195, allocations: 111.9 kB / 1.575 GB, free: 99.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/3.198, allocations: 2.145 MB / 1.577 GB, free: 98.15 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/3.2, allocations: 121.7 kB / 1.578 GB, free: 98.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/3.201, allocations: 2.701 MB / 1.58 GB, free: 95.61 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002358/3.203, allocations: 1.956 MB / 1.582 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004079/3.204, allocations: 118 kB / 1.582 GB, free: 93.73 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002642/3.204, allocations: 0.5258 MB / 1.583 GB, free: 93.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004816/3.209, allocations: 3.792 MB / 1.586 GB, free: 89.99 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006071/3.215, allocations: 4.904 MB / 1.591 GB, free: 85.25 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007031/3.222, allocations: 4.572 MB / 1.596 GB, free: 81.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.708e-05/3.222, allocations: 12 kB / 1.596 GB, free: 81.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03898/3.261, allocations: 15.99 MB / 1.611 GB, free: 68.13 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/3.261, allocations: 20 kB / 1.611 GB, free: 68.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.259e-05/3.261, allocations: 28 kB / 1.611 GB, free: 68.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02433/3.286, allocations: 7.74 MB / 1.619 GB, free: 62.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/3.288, allocations: 0.5537 MB / 1.619 GB, free: 61.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08268/3.371, allocations: 70.51 MB / 1.688 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005976/3.377, allocations: 243.7 kB / 1.689 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/3.378, allocations: 201.3 kB / 1.689 GB, free: 13.87 MB / 0.8855 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 () * Number of clocked 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.006017/3.384, allocations: 2.446 MB / 1.691 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/3.386, allocations: 469.8 kB / 1.692 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03569/3.422, allocations: 15.91 MB / 1.707 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-05/3.422, allocations: 56 kB / 1.707 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002443/3.422, allocations: 68 kB / 1.707 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001293/3.422, allocations: 35.89 kB / 1.707 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6406/4.063, allocations: 23.97 MB / 1.731 GB, free: 161 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001267/4.063, allocations: 12.75 kB / 1.731 GB, free: 161 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00277/4.066, allocations: 319.6 kB / 1.731 GB, free: 161 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03192/4.098, allocations: 6.878 MB / 1.738 GB, free: 160.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001757/4.099, allocations: 103.8 kB / 1.738 GB, free: 160.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0879/4.187, allocations: 67.37 MB / 1.804 GB, free: 146.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/4.187, allocations: 10.44 kB / 1.804 GB, free: 146.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04227/4.23, allocations: 20.94 MB / 1.824 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005291/4.235, allocations: 1.261 MB / 1.825 GB, free: 144.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00217/4.237, allocations: 110.4 kB / 1.825 GB, free: 144.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004538/4.242, allocations: 234.7 kB / 1.826 GB, free: 144.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002553/4.244, allocations: 0.515 MB / 1.826 GB, free: 144.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006905/4.245, allocations: 144 kB / 1.826 GB, free: 144.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002489/4.248, allocations: 1.623 MB / 1.828 GB, free: 144.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.783e-06/4.248, allocations: 0 / 1.828 GB, free: 144.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009312/4.257, allocations: 2.311 MB / 1.83 GB, free: 144.2 MB / 0.9011 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 () * Number of clocked 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.04334/4.3, allocations: 23.37 MB / 1.853 GB, free: 133 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02684/4.327, allocations: 13.82 MB / 1.866 GB, free: 126.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.825e-05/4.327, allocations: 0 / 1.866 GB, free: 126.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01773/4.345, allocations: 9.062 MB / 1.875 GB, free: 122 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006094/4.351, allocations: 1.099 MB / 1.876 GB, free: 121.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1012/4.452, allocations: 74.33 MB / 1.949 GB, free: 72.46 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007808/4.46, allocations: 5.02 MB / 1.954 GB, free: 68.68 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003085/4.463, allocations: 0.7421 MB / 1.955 GB, free: 68.17 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003561/4.467, allocations: 2.592 MB / 1.957 GB, free: 65.76 MB / 0.9011 GB Notification: Performance of SimCode: time 1.012e-06/4.467, allocations: 0 / 1.957 GB, free: 65.76 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7469/5.214, allocations: 175.7 MB / 2.129 GB, free: 148.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/5.214, allocations: 231.9 kB / 2.129 GB, free: 148.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/13.41, allocations: 2.578 kB / 2.129 GB, free: 148.6 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)