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_RLC_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_RLC_N,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.634/1.634, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.0009612/0.0009612, allocations: 172.9 kB / 361.4 MB, free: 6.852 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.401/1.401, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.0009112/0.000911, allocations: 85.72 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.902e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6234/0.6234, allocations: 115.3 MB / 0.9645 GB, free: 79.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2233/0.8467, allocations: 185.3 MB / 1.145 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.8471, allocations: 92.5 kB / 1.145 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.246/2.093, allocations: 317.8 MB / 1.456 GB, free: 86.91 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.066e-06/2.093, allocations: 4 kB / 1.456 GB, free: 86.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001044/2.094, allocations: 171.8 kB / 1.456 GB, free: 86.73 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.02282/2.117, allocations: 5.507 MB / 1.461 GB, free: 81.16 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/2.117, allocations: 8.031 kB / 1.461 GB, free: 81.15 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/2.132, allocations: 1.767 MB / 1.463 GB, free: 79.37 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0151/2.147, allocations: 5.027 MB / 1.468 GB, free: 74.27 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003675/2.147, allocations: 195.9 kB / 1.468 GB, free: 74.07 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003295/2.151, allocations: 363.9 kB / 1.469 GB, free: 73.72 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01678/2.167, allocations: 6.835 MB / 1.475 GB, free: 66.88 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02842/2.196, allocations: 8.979 MB / 1.484 GB, free: 57.42 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004369/2.196, allocations: 39.58 kB / 1.484 GB, free: 57.38 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002751/2.199, allocations: 12 kB / 1.484 GB, free: 57.37 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004437/2.2, allocations: 380.1 kB / 1.484 GB, free: 56.99 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07366/2.273, allocations: 45.11 MB / 1.529 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009011/2.282, allocations: 4.038 MB / 1.532 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007481/2.29, allocations: 3.451 MB / 1.536 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/2.291, allocations: 34.78 kB / 1.536 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.161e-05/2.291, allocations: 69.34 kB / 1.536 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 1.419e-05/2.291, allocations: 3.984 kB / 1.536 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578): time 0.1348/2.426, allocations: 37.31 MB / 1.572 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/2.426, allocations: 111.9 kB / 1.572 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004821/2.431, allocations: 1.821 MB / 1.574 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001411/2.432, allocations: 25.7 kB / 1.574 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002488/2.434, allocations: 2.708 MB / 1.577 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003374/2.438, allocations: 1.878 MB / 1.579 GB, free: 4.199 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/2.439, allocations: 0 / 1.579 GB, free: 4.199 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0005836/2.44, allocations: 0.5336 MB / 1.579 GB, free: 3.66 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006693/2.446, allocations: 3.611 MB / 1.583 GB, free: 44 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008163/2.455, allocations: 4.697 MB / 1.587 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008469/2.463, allocations: 4.41 MB / 1.592 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.382e-05/2.463, allocations: 8 kB / 1.592 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.7255/3.189, allocations: 15.17 MB / 1.607 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/3.189, allocations: 17.12 kB / 1.607 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.121e-05/3.189, allocations: 33.81 kB / 1.607 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02936/3.218, allocations: 7.307 MB / 1.614 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/3.221, allocations: 0.5594 MB / 1.614 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1056/3.327, allocations: 65.15 MB / 1.678 GB, free: 164 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007046/3.334, allocations: 129.1 kB / 1.678 GB, free: 164 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/3.336, allocations: 204.2 kB / 1.678 GB, free: 163.9 MB / 0.9167 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.001544/3.337, allocations: 190.8 kB / 1.678 GB, free: 163.8 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05072/3.388, allocations: 14.38 MB / 1.692 GB, free: 158.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003111/3.391, allocations: 450.3 kB / 1.693 GB, free: 158.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05326/3.444, allocations: 15.16 MB / 1.708 GB, free: 153 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-05/3.444, allocations: 55 kB / 1.708 GB, free: 153 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002421/3.445, allocations: 70.5 kB / 1.708 GB, free: 153 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001832/3.445, allocations: 27.98 kB / 1.708 GB, free: 153 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05872/3.504, allocations: 22.28 MB / 1.73 GB, free: 144.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.424e-05/3.504, allocations: 7.438 kB / 1.73 GB, free: 144.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/3.506, allocations: 319.7 kB / 1.73 GB, free: 144.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02216/3.528, allocations: 6.732 MB / 1.736 GB, free: 143.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001508/3.529, allocations: 18.2 kB / 1.736 GB, free: 143.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08509/3.615, allocations: 62.24 MB / 1.797 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.474e-05/3.615, allocations: 13.41 kB / 1.797 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04205/3.657, allocations: 20.15 MB / 1.817 GB, free: 85.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00463/3.661, allocations: 1.241 MB / 1.818 GB, free: 84.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00247/3.664, allocations: 19.58 kB / 1.818 GB, free: 84.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004927/3.669, allocations: 143.9 kB / 1.818 GB, free: 84.66 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002937/3.672, allocations: 0.5247 MB / 1.819 GB, free: 84.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001269/3.673, allocations: 140 kB / 1.819 GB, free: 84.19 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003029/3.676, allocations: 1.332 MB / 1.82 GB, free: 83.01 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.71e-07/3.676, allocations: 0 / 1.82 GB, free: 83.01 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01276/3.689, allocations: 2.014 MB / 1.822 GB, free: 81 MB / 0.9167 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.04195/3.731, allocations: 22.51 MB / 1.844 GB, free: 61.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02742/3.758, allocations: 13 MB / 1.857 GB, free: 49.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/3.759, allocations: 5 kB / 1.857 GB, free: 49.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01857/3.777, allocations: 8.484 MB / 1.865 GB, free: 41.58 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007438/3.785, allocations: 0.9781 MB / 1.866 GB, free: 40.85 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04139/3.826, allocations: 14.41 MB / 1.88 GB, free: 28.28 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01139/3.837, allocations: 5.011 MB / 1.885 GB, free: 24.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005709/3.843, allocations: 0.7225 MB / 1.886 GB, free: 24 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005059/3.848, allocations: 2.586 MB / 1.888 GB, free: 21.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.363e-06/3.848, allocations: 0 / 1.888 GB, free: 21.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9368/4.785, allocations: 170 MB / 2.054 GB, free: 200 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/4.785, allocations: 182.7 kB / 2.055 GB, free: 199.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.931/11.72, allocations: 0 / 2.055 GB, free: 199.8 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.8.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_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)