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.ACLineMatrix_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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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 2.035/2.035, allocations: 288.4 MB / 303.3 MB, free: 8.07 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.001077/0.001077, allocations: 176.5 kB / 372 MB, free: 10.27 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.572/1.572, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007308/0.0007308, allocations: 89.95 kB / 0.744 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004067, allocations: 12.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2424, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008859/0.2513, allocations: 9.059 MB / 0.9885 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005069/0.2564, allocations: 3.063 MB / 0.9915 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.2575, allocations: 27.81 kB / 0.9915 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006706/0.2582, allocations: 178.6 kB / 0.9917 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.2601, allocations: 0.6262 MB / 0.9923 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.2615, allocations: 0.5244 MB / 0.9928 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003169/0.2647, allocations: 3.495 MB / 0.9962 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003976/0.2687, allocations: 2.704 MB / 0.9989 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.2708, allocations: 0.9575 MB / 0.9998 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.2731, allocations: 1.433 MB / 1.001 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006502/0.2738, allocations: 112 kB / 1.001 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.2751, allocations: 259.8 kB / 1.002 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00141/0.2765, allocations: 0.9198 MB / 1.002 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0009665/0.2775, allocations: 384.8 kB / 1.003 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.2807, allocations: 3 MB / 1.006 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.2807, allocations: 0 / 1.006 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.989e-06/0.2808, allocations: 0 / 1.006 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001524/0.2809, allocations: 0 / 1.006 GB, free: 0.7109 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005414/0.2863, allocations: 1.791 MB / 1.008 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.2864, allocations: 8.031 kB / 1.008 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001065/0.2875, allocations: 257.1 kB / 1.008 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008626/0.2961, allocations: 1.324 MB / 1.009 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.299, allocations: 1.223 MB / 1.01 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.2991, allocations: 114.9 kB / 1.01 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.2995, allocations: 148 kB / 1.01 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005571/0.3051, allocations: 3.421 MB / 1.014 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.3052, allocations: 11.84 kB / 1.014 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.3054, allocations: 63.97 kB / 1.014 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002672/0.3057, allocations: 207.1 kB / 1.014 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004996/0.3107, allocations: 3.112 MB / 1.017 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01856/0.3293, allocations: 13.57 MB / 1.03 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.332, allocations: 1.717 MB / 1.032 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.334, allocations: 1.432 MB / 1.033 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.344e-05/0.3341, allocations: 13 kB / 1.033 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.3342, allocations: 47.56 kB / 1.034 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 3.076e-06/0.3342, allocations: 0 / 1.034 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.6546/0.9888, allocations: 35.92 MB / 1.069 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.9889, allocations: 74.22 kB / 1.069 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.9909, allocations: 1.045 MB / 1.07 GB, free: 84.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003948/0.9913, allocations: 54.2 kB / 1.07 GB, free: 84.03 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005493/0.9918, allocations: 0.7865 MB / 1.071 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005691/0.9924, allocations: 0.6253 MB / 1.071 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.9926, allocations: 35.97 kB / 1.071 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.9927, allocations: 386.3 kB / 1.072 GB, free: 82.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/0.9959, allocations: 1.922 MB / 1.073 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/0.9998, allocations: 2.276 MB / 1.076 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/1.003, allocations: 2.217 MB / 1.078 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.003, allocations: 2.562 kB / 1.078 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02322/1.027, allocations: 8.988 MB / 1.087 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-05/1.027, allocations: 9.453 kB / 1.087 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/1.027, allocations: 8.5 kB / 1.087 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0173/1.044, allocations: 4.981 MB / 1.091 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000955/1.045, allocations: 194.2 kB / 1.092 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04986/1.095, allocations: 35.06 MB / 1.126 GB, free: 55.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.097, allocations: 106.7 kB / 1.126 GB, free: 55.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/1.097, allocations: 70.59 kB / 1.126 GB, free: 55.36 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001267/1.099, allocations: 0.8038 MB / 1.127 GB, free: 54.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/1.099, allocations: 139.2 kB / 1.127 GB, free: 54.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/1.116, allocations: 8.864 MB / 1.136 GB, free: 46.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.879e-05/1.116, allocations: 23.94 kB / 1.136 GB, free: 46.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.663e-05/1.116, allocations: 31.56 kB / 1.136 GB, free: 46.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.959e-05/1.116, allocations: 11.92 kB / 1.136 GB, free: 46.87 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/1.14, allocations: 13.24 MB / 1.149 GB, free: 33.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-05/1.14, allocations: 4.469 kB / 1.149 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/1.14, allocations: 127.8 kB / 1.149 GB, free: 33.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02065/1.161, allocations: 4.756 MB / 1.153 GB, free: 28.63 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006453/1.162, allocations: 43.92 kB / 1.153 GB, free: 28.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06519/1.227, allocations: 31.38 MB / 1.184 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/1.227, allocations: 7.938 kB / 1.184 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02963/1.257, allocations: 8.385 MB / 1.192 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002554/1.259, allocations: 0.6163 MB / 1.193 GB, free: 3.551 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005851/1.26, allocations: 39.94 kB / 1.193 GB, free: 3.512 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/1.262, allocations: 87.88 kB / 1.193 GB, free: 3.426 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/1.263, allocations: 169.6 kB / 1.193 GB, free: 3.262 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002618/1.264, allocations: 48 kB / 1.193 GB, free: 3.215 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001658/1.265, allocations: 0.7304 MB / 1.194 GB, free: 2.473 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.265, allocations: 0 / 1.194 GB, free: 2.473 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005237/1.27, allocations: 0.9922 MB / 1.195 GB, free: 1.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0318/1.302, allocations: 8.966 MB / 1.204 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01653/1.319, allocations: 5.826 MB / 1.209 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/1.319, allocations: 4 kB / 1.209 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0132/1.332, allocations: 3.796 MB / 1.213 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/1.335, allocations: 220.8 kB / 1.213 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06559/1.401, allocations: 20.66 MB / 1.233 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002701/1.404, allocations: 1.855 MB / 1.235 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00152/1.405, allocations: 355.4 kB / 1.236 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.406, allocations: 0.6047 MB / 1.236 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/1.406, allocations: 0 / 1.236 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1605/1.567, allocations: 69.71 MB / 1.304 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003219/1.567, allocations: 247.2 kB / 1.304 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.432/5, allocations: 0 / 1.304 GB, free: 0.8359 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)