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.387/1.387, allocations: 252 MB / 267 MB, free: 10.98 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.001074/0.001074, allocations: 180.8 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0007611/0.0007612, allocations: 88.02 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 9.062 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2603, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03068/0.291, allocations: 37.43 MB / 0.9369 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.3164, allocations: 14.41 MB / 0.9509 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005549/0.322, allocations: 159.1 kB / 0.9511 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003747/0.3257, allocations: 0.841 MB / 0.9519 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.3361, allocations: 2.32 MB / 0.9542 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006853/0.343, allocations: 1.902 MB / 0.956 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01656/0.3596, allocations: 12.66 MB / 0.9684 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0283/0.388, allocations: 13.98 MB / 0.982 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008893/0.3969, allocations: 3.549 MB / 0.9855 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/0.4085, allocations: 4.645 MB / 0.99 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.003576/0.4121, allocations: 400 kB / 0.9904 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006184/0.4183, allocations: 0.8898 MB / 0.9913 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.006717/0.4251, allocations: 2.954 MB / 0.9942 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004658/0.4298, allocations: 1.377 MB / 0.9955 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.447, allocations: 11.76 MB / 1.007 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.4471, allocations: 0 / 1.007 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.955e-06/0.4471, allocations: 0 / 1.007 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0006571/0.4478, allocations: 0 / 1.007 GB, free: 2.18 MB / 0.6511 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.02011/0.4679, allocations: 6.228 MB / 1.013 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.468, allocations: 11.97 kB / 1.013 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003863/0.4718, allocations: 0.8915 MB / 1.014 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.4836, allocations: 1.521 MB / 1.015 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/0.4957, allocations: 4.097 MB / 1.019 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005899/0.4963, allocations: 460.1 kB / 1.02 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003332/0.4997, allocations: 0.5935 MB / 1.02 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0326/0.5323, allocations: 10.64 MB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004708/0.5329, allocations: 31.77 kB / 1.031 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003045/0.5359, allocations: 259.9 kB / 1.031 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003043/0.539, allocations: 0.7768 MB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/0.5622, allocations: 8.514 MB / 1.04 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6503/1.213, allocations: 46.94 MB / 1.086 GB, free: 103.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008192/1.221, allocations: 4.301 MB / 1.09 GB, free: 103.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007473/1.228, allocations: 3.677 MB / 1.094 GB, free: 102.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004839/1.229, allocations: 37.12 kB / 1.094 GB, free: 102.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.543e-05/1.229, allocations: 77.11 kB / 1.094 GB, free: 102.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 6.091e-06/1.229, allocations: 0 / 1.094 GB, free: 102.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 0.5004/1.729, allocations: 127.9 MB / 1.219 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.73, allocations: 115.9 kB / 1.219 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007551/1.737, allocations: 2.654 MB / 1.222 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001902/1.739, allocations: 121.7 kB / 1.222 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003514/1.743, allocations: 2.673 MB / 1.224 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.004972/1.748, allocations: 1.958 MB / 1.226 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/1.749, allocations: 108 kB / 1.226 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0005973/1.75, allocations: 0.5296 MB / 1.227 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01341/1.763, allocations: 4.056 MB / 1.231 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01341/1.776, allocations: 5 MB / 1.236 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009179/1.786, allocations: 4.815 MB / 1.24 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.009e-05/1.786, allocations: 15.78 kB / 1.24 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04436/1.83, allocations: 16.91 MB / 1.257 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/1.83, allocations: 22.72 kB / 1.257 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.586e-05/1.83, allocations: 23.95 kB / 1.257 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03325/1.864, allocations: 9.054 MB / 1.266 GB, free: 4.465 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/1.866, allocations: 0.5226 MB / 1.266 GB, free: 3.941 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1078/1.974, allocations: 70.62 MB / 1.335 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/1.979, allocations: 279.8 kB / 1.335 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/1.98, allocations: 192 kB / 1.336 GB, free: 11.4 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * 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,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005197/1.986, allocations: 2.425 MB / 1.338 GB, free: 8.961 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/1.987, allocations: 474.5 kB / 1.338 GB, free: 8.492 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04058/2.028, allocations: 16.75 MB / 1.355 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.407e-05/2.028, allocations: 56 kB / 1.355 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002916/2.028, allocations: 68 kB / 1.355 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001684/2.028, allocations: 39.88 kB / 1.355 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5178/2.546, allocations: 25.61 MB / 1.38 GB, free: 276.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.694e-05/2.546, allocations: 7.375 kB / 1.38 GB, free: 276.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/2.548, allocations: 319.9 kB / 1.38 GB, free: 276.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0316/2.58, allocations: 8.262 MB / 1.388 GB, free: 276.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001357/2.581, allocations: 107.5 kB / 1.388 GB, free: 276.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08884/2.67, allocations: 67.44 MB / 1.454 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/2.67, allocations: 9.219 kB / 1.454 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04084/2.711, allocations: 21.49 MB / 1.475 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003764/2.715, allocations: 1.36 MB / 1.477 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001852/2.716, allocations: 112.3 kB / 1.477 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004529/2.721, allocations: 287.6 kB / 1.477 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002455/2.724, allocations: 0.5221 MB / 1.478 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006379/2.724, allocations: 144.4 kB / 1.478 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002479/2.727, allocations: 1.749 MB / 1.479 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.41e-07/2.727, allocations: 4 kB / 1.479 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00868/2.735, allocations: 2.441 MB / 1.482 GB, free: 222.1 MB / 0.8698 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,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 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.03933/2.775, allocations: 22.18 MB / 1.503 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02449/2.799, allocations: 14.49 MB / 1.518 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/2.799, allocations: 4 kB / 1.518 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01767/2.817, allocations: 9.371 MB / 1.527 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00847/2.825, allocations: 1.285 MB / 1.528 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09738/2.923, allocations: 55.84 MB / 1.583 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008491/2.931, allocations: 4.9 MB / 1.587 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004248/2.936, allocations: 0.741 MB / 1.588 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003625/2.939, allocations: 2.596 MB / 1.591 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of SimCode: time 7.71e-07/2.939, allocations: 0 / 1.591 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6972/3.637, allocations: 185.8 MB / 1.772 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/3.637, allocations: 253.4 kB / 1.772 GB, free: 248.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/11.81, allocations: 0 / 1.772 GB, free: 248.4 MB / 0.8855 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)