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.459/1.459, allocations: 288.4 MB / 303.6 MB, free: 8.105 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.0008651/0.0008651, allocations: 180.5 kB / 372.3 MB, free: 10.14 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.298/1.298, allocations: 205.4 MB / 0.631 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006792/0.0006791, allocations: 104.6 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 16.75 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02736/0.1779, allocations: 37.44 MB / 1.017 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01802/0.1959, allocations: 14.39 MB / 1.031 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.1977, allocations: 159.1 kB / 1.031 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.1991, allocations: 0.841 MB / 1.032 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.2028, allocations: 2.445 MB / 1.034 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00386/0.2067, allocations: 2.041 MB / 1.036 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01032/0.217, allocations: 12.76 MB / 1.049 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01866/0.2357, allocations: 15.57 MB / 1.064 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004916/0.2406, allocations: 3.549 MB / 1.067 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3313/0.5719, allocations: 4.638 MB / 1.072 GB, free: 25.52 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00151/0.5734, allocations: 397.2 kB / 1.072 GB, free: 25.52 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/0.5775, allocations: 1.742 MB / 1.074 GB, free: 25.52 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003905/0.5814, allocations: 2.959 MB / 1.077 GB, free: 25.52 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006873/0.5883, allocations: 3.362 MB / 1.08 GB, free: 25.49 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.6002, allocations: 11.79 MB / 1.092 GB, free: 25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.6002, allocations: 0 / 1.092 GB, free: 25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6002, allocations: 2.625 kB / 1.092 GB, free: 25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004782/0.6007, allocations: 1.188 kB / 1.092 GB, free: 25 MB / 0.6823 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.01445/0.6152, allocations: 6.16 MB / 1.098 GB, free: 22.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.6152, allocations: 9.656 kB / 1.098 GB, free: 22.44 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001704/0.6169, allocations: 0.8939 MB / 1.099 GB, free: 22.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008189/0.6251, allocations: 1.521 MB / 1.1 GB, free: 21.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006432/0.6316, allocations: 4.205 MB / 1.104 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.6318, allocations: 456.6 kB / 1.105 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.6329, allocations: 0.5968 MB / 1.105 GB, free: 20.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/0.6497, allocations: 10.63 MB / 1.115 GB, free: 17.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001406/0.6499, allocations: 29.22 kB / 1.116 GB, free: 17.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006575/0.6506, allocations: 265.3 kB / 1.116 GB, free: 17.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/0.6532, allocations: 0.7778 MB / 1.117 GB, free: 17.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.6673, allocations: 8.512 MB / 1.125 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04375/0.7111, allocations: 46.98 MB / 1.171 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/0.7156, allocations: 4.297 MB / 1.175 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004099/0.7198, allocations: 3.68 MB / 1.179 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.72, allocations: 41.5 kB / 1.179 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.7201, allocations: 77.33 kB / 1.179 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=353): time 4.248e-06/0.7201, allocations: 0 / 1.179 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578): time 0.4541/1.174, allocations: 128 MB / 1.304 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/1.174, allocations: 111.9 kB / 1.304 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004048/1.178, allocations: 2.657 MB / 1.306 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001015/1.179, allocations: 121.7 kB / 1.306 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.181, allocations: 2.677 MB / 1.309 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002322/1.183, allocations: 1.955 MB / 1.311 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006833/1.184, allocations: 108 kB / 1.311 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003309/1.184, allocations: 0.5257 MB / 1.312 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006045/1.191, allocations: 4.052 MB / 1.316 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006829/1.197, allocations: 4.999 MB / 1.32 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/1.212, allocations: 9.809 MB / 1.33 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/1.212, allocations: 7.281 kB / 1.33 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03882/1.251, allocations: 16.94 MB / 1.347 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.679e-05/1.251, allocations: 12 kB / 1.347 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.3e-05/1.251, allocations: 24 kB / 1.347 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03096/1.282, allocations: 9.052 MB / 1.355 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/1.284, allocations: 0.5303 MB / 1.356 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09354/1.378, allocations: 70.6 MB / 1.425 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005346/1.383, allocations: 275.8 kB / 1.425 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/1.385, allocations: 202.2 kB / 1.425 GB, free: 6.668 MB / 0.9636 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.005551/1.39, allocations: 2.427 MB / 1.428 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/1.392, allocations: 474.5 kB / 1.428 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3738/1.765, allocations: 16.77 MB / 1.445 GB, free: 335.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/1.765, allocations: 57.78 kB / 1.445 GB, free: 335.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-05/1.766, allocations: 72.12 kB / 1.445 GB, free: 335.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-05/1.766, allocations: 35.23 kB / 1.445 GB, free: 335.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04324/1.809, allocations: 25.65 MB / 1.47 GB, free: 327.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/1.809, allocations: 7.625 kB / 1.47 GB, free: 327.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/1.811, allocations: 316.7 kB / 1.47 GB, free: 327.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02548/1.836, allocations: 8.263 MB / 1.478 GB, free: 325.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007435/1.837, allocations: 106.6 kB / 1.478 GB, free: 325.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07214/1.909, allocations: 67.46 MB / 1.544 GB, free: 271.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.909, allocations: 11.94 kB / 1.544 GB, free: 271.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03341/1.942, allocations: 21.5 MB / 1.565 GB, free: 249.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/1.945, allocations: 1.354 MB / 1.566 GB, free: 248.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007717/1.946, allocations: 116.1 kB / 1.567 GB, free: 248.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/1.949, allocations: 287.6 kB / 1.567 GB, free: 248 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00151/1.95, allocations: 0.5221 MB / 1.567 GB, free: 247.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003481/1.951, allocations: 148 kB / 1.568 GB, free: 247.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001939/1.953, allocations: 1.749 MB / 1.569 GB, free: 245.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.2e-07/1.953, allocations: 0 / 1.569 GB, free: 245.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00536/1.958, allocations: 2.441 MB / 1.572 GB, free: 243.2 MB / 0.9636 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.03253/1.99, allocations: 22.21 MB / 1.593 GB, free: 220.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01954/2.01, allocations: 14.47 MB / 1.607 GB, free: 206 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/2.01, allocations: 4 kB / 1.607 GB, free: 206 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01391/2.024, allocations: 9.373 MB / 1.617 GB, free: 196.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008531/2.033, allocations: 1.265 MB / 1.618 GB, free: 195.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08209/2.115, allocations: 55.86 MB / 1.672 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005125/2.12, allocations: 4.896 MB / 1.677 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002483/2.122, allocations: 0.7448 MB / 1.678 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/2.124, allocations: 2.596 MB / 1.68 GB, free: 129 MB / 0.9636 GB Notification: Performance of SimCode: time 4e-07/2.124, allocations: 7.938 kB / 1.68 GB, free: 129 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 12.23/14.36, allocations: 186.6 MB / 1.863 GB, free: 291.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/14.36, allocations: 243.2 kB / 1.863 GB, free: 291.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.259/21.62, allocations: 0 / 1.863 GB, free: 291.4 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)