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.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,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.626/1.626, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001168/0.001168, allocations: 195.9 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 1.87/1.87, allocations: 205.4 MB / 0.5775 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.001057/0.001057, allocations: 90.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 12.12 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2336, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02465/0.2583, allocations: 32.64 MB / 0.932 GB, free: 31.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.2762, allocations: 12.53 MB / 0.9443 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004063/0.2803, allocations: 139.1 kB / 0.9444 GB, free: 18.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.2826, allocations: 0.7492 MB / 0.9451 GB, free: 17.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006479/0.2891, allocations: 1.877 MB / 0.947 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.2941, allocations: 1.639 MB / 0.9486 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00834/0.3025, allocations: 4.817 MB / 0.9533 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01562/0.3181, allocations: 11.43 MB / 0.9644 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00589/0.324, allocations: 2.616 MB / 0.967 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00618/0.3302, allocations: 2.663 MB / 0.9696 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.3313, allocations: 320 kB / 0.9699 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.3341, allocations: 0.6517 MB / 0.9705 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.003287/0.3374, allocations: 2.241 MB / 0.9727 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003398/0.3408, allocations: 1.171 MB / 0.9739 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.3545, allocations: 9.58 MB / 0.9832 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3545, allocations: 0 / 0.9832 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3545, allocations: 0 / 0.9832 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000424/0.3549, allocations: 0 / 0.9832 GB, free: 10.52 MB / 0.6355 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.01531/0.3703, allocations: 5.154 MB / 0.9883 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.3703, allocations: 12.03 kB / 0.9883 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002987/0.3733, allocations: 0.7556 MB / 0.989 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008513/0.3819, allocations: 1.277 MB / 0.9903 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009751/0.3916, allocations: 3.475 MB / 0.9936 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/0.3921, allocations: 378.1 kB / 0.994 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002507/0.3946, allocations: 0.4998 MB / 0.9945 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.4186, allocations: 8.8 MB / 1.003 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001968/0.4188, allocations: 19.78 kB / 1.003 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008295/0.4197, allocations: 223.9 kB / 1.003 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/0.422, allocations: 0.6382 MB / 1.004 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.4382, allocations: 6.979 MB / 1.011 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06138/0.4997, allocations: 40.38 MB / 1.05 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4978/0.9975, allocations: 2.887 MB / 1.053 GB, free: 133.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003668/0.998, allocations: 29.81 kB / 1.053 GB, free: 133.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.998, allocations: 61.69 kB / 1.053 GB, free: 133.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 5.942e-06/0.998, allocations: 0 / 1.053 GB, free: 133.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.3045/1.303, allocations: 77.42 MB / 1.129 GB, free: 86.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/1.303, allocations: 94.73 kB / 1.129 GB, free: 86.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002955/1.306, allocations: 2.332 MB / 1.131 GB, free: 84.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000756/1.306, allocations: 93.7 kB / 1.131 GB, free: 83.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/1.307, allocations: 2.338 MB / 1.133 GB, free: 81.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/1.309, allocations: 1.437 MB / 1.135 GB, free: 80.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004944/1.309, allocations: 96 kB / 1.135 GB, free: 80.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.31, allocations: 487.2 kB / 1.135 GB, free: 79.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003922/1.314, allocations: 2.983 MB / 1.138 GB, free: 76.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004291/1.318, allocations: 3.804 MB / 1.142 GB, free: 72.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004439/1.322, allocations: 3.548 MB / 1.145 GB, free: 68.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/1.322, allocations: 4 kB / 1.146 GB, free: 68.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02581/1.348, allocations: 12.5 MB / 1.158 GB, free: 56.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/1.348, allocations: 16 kB / 1.158 GB, free: 56.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/1.348, allocations: 27.98 kB / 1.158 GB, free: 56.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02134/1.37, allocations: 6.011 MB / 1.164 GB, free: 50.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/1.372, allocations: 499.2 kB / 1.164 GB, free: 49.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07538/1.447, allocations: 69.29 MB / 1.232 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0048/1.452, allocations: 223.8 kB / 1.232 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/1.453, allocations: 151.2 kB / 1.232 GB, free: 8.875 MB / 0.7292 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.00532/1.458, allocations: 1.992 MB / 1.234 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001468/1.46, allocations: 391.4 kB / 1.234 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03088/1.491, allocations: 12.18 MB / 1.246 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.051e-05/1.491, allocations: 40 kB / 1.246 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001636/1.491, allocations: 59.95 kB / 1.246 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.037e-05/1.491, allocations: 19.92 kB / 1.246 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0453/1.536, allocations: 19.11 MB / 1.265 GB, free: 6.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.918e-05/1.537, allocations: 11.95 kB / 1.265 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.538, allocations: 292.3 kB / 1.265 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02226/1.561, allocations: 5.563 MB / 1.271 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009794/1.562, allocations: 79.98 kB / 1.271 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08115/1.643, allocations: 66.91 MB / 1.336 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.643, allocations: 11.94 kB / 1.336 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03382/1.677, allocations: 16.21 MB / 1.352 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003691/1.68, allocations: 1.047 MB / 1.353 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/1.682, allocations: 84.36 kB / 1.353 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003747/1.686, allocations: 219.7 kB / 1.353 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002001/1.688, allocations: 398.3 kB / 1.354 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007651/1.689, allocations: 111.9 kB / 1.354 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002953/1.692, allocations: 1.541 MB / 1.355 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/1.692, allocations: 0 / 1.355 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007758/1.699, allocations: 1.844 MB / 1.357 GB, free: 4.793 MB / 0.8542 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.03471/1.734, allocations: 18.64 MB / 1.375 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.3894/2.124, allocations: 12.16 MB / 1.387 GB, free: 276.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/2.124, allocations: 2.188 kB / 1.387 GB, free: 276.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0161/2.14, allocations: 8.379 MB / 1.395 GB, free: 274 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004913/2.145, allocations: 1.045 MB / 1.396 GB, free: 274 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08415/2.229, allocations: 57.71 MB / 1.453 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004826/2.234, allocations: 4.186 MB / 1.457 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00276/2.237, allocations: 0.666 MB / 1.458 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002152/2.239, allocations: 2.138 MB / 1.46 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.282e-06/2.239, allocations: 4 kB / 1.46 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1923/2.431, allocations: 143.7 MB / 1.6 GB, free: 99.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/2.431, allocations: 232.6 kB / 1.6 GB, free: 99.46 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.294/8.725, allocations: 0 / 1.6 GB, free: 99.46 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)