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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.678/1.678, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001202/0.001202, allocations: 181 kB / 371.8 MB, free: 10.29 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.634/1.634, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0008571/0.0008568, allocations: 93.36 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006697/0.0006698, allocations: 11.69 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2304, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02744/0.2579, allocations: 32.62 MB / 1.011 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.2804, allocations: 12.54 MB / 1.024 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004777/0.2852, allocations: 139.1 kB / 1.024 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003182/0.2884, allocations: 0.7414 MB / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007832/0.2963, allocations: 1.885 MB / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00627/0.3026, allocations: 1.64 MB / 1.028 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009885/0.3125, allocations: 4.821 MB / 1.033 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02109/0.3336, allocations: 11.42 MB / 1.044 GB, free: 9.602 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007472/0.3412, allocations: 2.616 MB / 1.046 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005841/0.3471, allocations: 2.67 MB / 1.049 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.3491, allocations: 320 kB / 1.049 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.3525, allocations: 0.6557 MB / 1.05 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004768/0.3573, allocations: 2.237 MB / 1.052 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003917/0.3612, allocations: 1.167 MB / 1.053 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.3749, allocations: 9.584 MB / 1.063 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3749, allocations: 0 / 1.063 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.096e-06/0.375, allocations: 0 / 1.063 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005216/0.3755, allocations: 0 / 1.063 GB, free: 6.301 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01627/0.3918, allocations: 5.159 MB / 1.068 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.3918, allocations: 15.97 kB / 1.068 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003345/0.3952, allocations: 0.7478 MB / 1.068 GB, free: 304 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5542/0.9494, allocations: 1.278 MB / 1.07 GB, free: 79.49 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.9604, allocations: 3.475 MB / 1.073 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005386/0.961, allocations: 379.5 kB / 1.073 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002641/0.9637, allocations: 0.4979 MB / 1.074 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/0.9901, allocations: 8.8 MB / 1.082 GB, free: 74.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002924/0.9904, allocations: 27.23 kB / 1.082 GB, free: 74.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001644/0.9921, allocations: 219.5 kB / 1.083 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002775/0.9949, allocations: 0.6297 MB / 1.083 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02019/1.015, allocations: 6.978 MB / 1.09 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05658/1.072, allocations: 40.39 MB / 1.13 GB, free: 36.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005975/1.078, allocations: 2.887 MB / 1.132 GB, free: 35.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004432/1.078, allocations: 27.03 kB / 1.132 GB, free: 35.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.625e-05/1.078, allocations: 63.42 kB / 1.132 GB, free: 35.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=265): time 6.372e-06/1.078, allocations: 5.219 kB / 1.132 GB, free: 35.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=424): time 0.3032/1.382, allocations: 77.4 MB / 1.208 GB, free: 11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/1.382, allocations: 94.73 kB / 1.208 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/1.385, allocations: 2.332 MB / 1.21 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/1.387, allocations: 101.7 kB / 1.21 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001795/1.388, allocations: 2.335 MB / 1.213 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002823/1.391, allocations: 1.441 MB / 1.214 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/1.392, allocations: 84 kB / 1.214 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000484/1.393, allocations: 487.2 kB / 1.215 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005403/1.398, allocations: 2.98 MB / 1.218 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006378/1.405, allocations: 3.816 MB / 1.221 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006132/1.411, allocations: 3.548 MB / 1.225 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/1.411, allocations: 8 kB / 1.225 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03199/1.443, allocations: 12.5 MB / 1.237 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/1.443, allocations: 21.67 kB / 1.237 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-05/1.443, allocations: 20 kB / 1.237 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02368/1.467, allocations: 6.015 MB / 1.243 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/1.469, allocations: 499.1 kB / 1.243 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08629/1.555, allocations: 69.29 MB / 1.311 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/1.56, allocations: 211.8 kB / 1.311 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007039/1.56, allocations: 160 kB / 1.311 GB, free: 13.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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004109/1.564, allocations: 1.992 MB / 1.313 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.566, allocations: 387.4 kB / 1.314 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02923/1.595, allocations: 12.19 MB / 1.326 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/1.595, allocations: 40 kB / 1.326 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001291/1.595, allocations: 48 kB / 1.326 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.168e-05/1.595, allocations: 23.86 kB / 1.326 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04103/1.636, allocations: 19.12 MB / 1.344 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/1.636, allocations: 8 kB / 1.344 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/1.638, allocations: 291.7 kB / 1.345 GB, free: 11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02117/1.659, allocations: 5.565 MB / 1.35 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008596/1.66, allocations: 80 kB / 1.35 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5236/2.184, allocations: 66.9 MB / 1.416 GB, free: 295.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/2.184, allocations: 11.44 kB / 1.416 GB, free: 295.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03704/2.221, allocations: 16.2 MB / 1.431 GB, free: 294 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00377/2.225, allocations: 1.048 MB / 1.432 GB, free: 293.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001512/2.226, allocations: 84.8 kB / 1.433 GB, free: 293.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003637/2.23, allocations: 217 kB / 1.433 GB, free: 293.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001884/2.232, allocations: 401.5 kB / 1.433 GB, free: 293.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006352/2.232, allocations: 113.5 kB / 1.433 GB, free: 293.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003177/2.235, allocations: 1.532 MB / 1.435 GB, free: 293.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.41e-07/2.236, allocations: 0 / 1.435 GB, free: 293.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008409/2.244, allocations: 1.842 MB / 1.436 GB, free: 293.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0337/2.278, allocations: 18.64 MB / 1.455 GB, free: 284.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02524/2.303, allocations: 12.18 MB / 1.467 GB, free: 278.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.12e-05/2.303, allocations: 5.188 kB / 1.467 GB, free: 278.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01536/2.318, allocations: 8.384 MB / 1.475 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005827/2.324, allocations: 1.053 MB / 1.476 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08667/2.411, allocations: 57.7 MB / 1.532 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006917/2.418, allocations: 4.187 MB / 1.536 GB, free: 223.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003487/2.421, allocations: 0.6708 MB / 1.537 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003328/2.425, allocations: 2.132 MB / 1.539 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.493e-06/2.425, allocations: 4 kB / 1.539 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2034/2.628, allocations: 143.7 MB / 1.679 GB, free: 77.46 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/2.628, allocations: 232.6 kB / 1.68 GB, free: 77.23 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.296/8.925, allocations: 3.281 kB / 1.68 GB, free: 77.23 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)