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 1.589/1.589, allocations: 288.4 MB / 303.6 MB, free: 8.148 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.0009746/0.000975, allocations: 180.5 kB / 372.3 MB, free: 10.12 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.297/1.297, allocations: 205.4 MB / 0.631 GB, free: 9.859 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.000771/0.000771, allocations: 95.38 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 11.88 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1671, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.006638/0.1738, allocations: 9.068 MB / 0.9891 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003509/0.1773, allocations: 3.059 MB / 0.992 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.1778, allocations: 31.81 kB / 0.9921 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1781, allocations: 182.7 kB / 0.9922 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009641/0.1791, allocations: 0.6573 MB / 0.9929 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009476/0.18, allocations: 0.5514 MB / 0.9934 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.1821, allocations: 3.506 MB / 0.9968 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003135/0.1853, allocations: 3.11 MB / 0.9999 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.1864, allocations: 0.9575 MB / 1.001 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.1878, allocations: 1.43 MB / 1.002 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.188, allocations: 112 kB / 1.002 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007517/0.1888, allocations: 455.2 kB / 1.003 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006128/0.1894, allocations: 0.9198 MB / 1.004 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006689/0.1901, allocations: 0.9195 MB / 1.005 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.192, allocations: 3.016 MB / 1.007 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.192, allocations: 0 / 1.007 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.192, allocations: 3.938 kB / 1.008 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.589e-05/0.192, allocations: 0 / 1.008 GB, free: 15.13 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003052/0.1951, allocations: 1.76 MB / 1.009 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1952, allocations: 8.031 kB / 1.009 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003771/0.1955, allocations: 261.2 kB / 1.009 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008025/0.2036, allocations: 1.313 MB / 1.011 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.2057, allocations: 1.259 MB / 1.012 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/0.2058, allocations: 111.4 kB / 1.012 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002763/0.206, allocations: 152.3 kB / 1.012 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004865/0.2109, allocations: 3.43 MB / 1.016 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/0.211, allocations: 3.984 kB / 1.016 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.2112, allocations: 71.95 kB / 1.016 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002385/0.2114, allocations: 203.1 kB / 1.016 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004464/0.2159, allocations: 3.116 MB / 1.019 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.2318, allocations: 13.58 MB / 1.032 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.2342, allocations: 1.721 MB / 1.034 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.236, allocations: 1.429 MB / 1.035 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.742e-05/0.2362, allocations: 9 kB / 1.035 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.2362, allocations: 47.56 kB / 1.035 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 2.896e-06/0.2362, allocations: 0 / 1.035 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.4606/0.6969, allocations: 35.94 MB / 1.07 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.6969, allocations: 71.31 kB / 1.07 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.6983, allocations: 1.047 MB / 1.071 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002513/0.6985, allocations: 55.3 kB / 1.072 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.6989, allocations: 0.7874 MB / 1.072 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004266/0.6994, allocations: 0.6221 MB / 1.073 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.6995, allocations: 40.62 kB / 1.073 GB, free: 83.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6996, allocations: 384.6 kB / 1.073 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002595/0.7022, allocations: 1.922 MB / 1.075 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/0.705, allocations: 2.277 MB / 1.077 GB, free: 81.37 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/0.7106, allocations: 4.38 MB / 1.082 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.7106, allocations: 6.312 kB / 1.082 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01848/0.7291, allocations: 9.001 MB / 1.09 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.7291, allocations: 9.031 kB / 1.09 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.7292, allocations: 9.062 kB / 1.091 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01492/0.7441, allocations: 4.969 MB / 1.095 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/0.7448, allocations: 204.2 kB / 1.096 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04238/0.7872, allocations: 35.07 MB / 1.13 GB, free: 53.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.789, allocations: 103.9 kB / 1.13 GB, free: 52.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.7891, allocations: 70.11 kB / 1.13 GB, free: 52.87 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.001008/0.7901, allocations: 0.8056 MB / 1.131 GB, free: 52.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.7903, allocations: 138.3 kB / 1.131 GB, free: 51.92 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/0.8056, allocations: 8.882 MB / 1.14 GB, free: 43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.8057, allocations: 20 kB / 1.14 GB, free: 42.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.112e-05/0.8057, allocations: 32.86 kB / 1.14 GB, free: 42.95 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.8057, allocations: 7.969 kB / 1.14 GB, free: 42.94 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01991/0.8256, allocations: 13.25 MB / 1.153 GB, free: 29.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.8257, allocations: 4 kB / 1.153 GB, free: 29.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.8261, allocations: 125.5 kB / 1.153 GB, free: 29.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01357/0.8396, allocations: 4.759 MB / 1.157 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.8398, allocations: 32 kB / 1.157 GB, free: 24.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03727/0.8771, allocations: 31.41 MB / 1.188 GB, free: 8.723 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8771, allocations: 4 kB / 1.188 GB, free: 8.719 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01669/0.8938, allocations: 8.394 MB / 1.196 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009658/0.8948, allocations: 0.6164 MB / 1.197 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.8951, allocations: 35.94 kB / 1.197 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.8961, allocations: 87.89 kB / 1.197 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004943/0.8966, allocations: 173.6 kB / 1.197 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.8968, allocations: 44 kB / 1.197 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008199/0.8976, allocations: 0.7265 MB / 1.198 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8976, allocations: 4 kB / 1.198 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002299/0.8999, allocations: 0.9961 MB / 1.199 GB, free: 13.53 MB / 0.7136 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.01694/0.9169, allocations: 8.973 MB / 1.208 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008344/0.9252, allocations: 5.822 MB / 1.213 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9252, allocations: 0 / 1.213 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006458/0.9317, allocations: 3.796 MB / 1.217 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.9332, allocations: 234 kB / 1.217 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03162/0.9648, allocations: 20.66 MB / 1.237 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/0.9663, allocations: 1.859 MB / 1.239 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007126/0.967, allocations: 347.4 kB / 1.24 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.9677, allocations: 0.6065 MB / 1.24 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of SimCode: time 3e-07/0.9677, allocations: 0 / 1.24 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.741/4.709, allocations: 69.78 MB / 1.308 GB, free: 13.11 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/4.709, allocations: 246.5 kB / 1.309 GB, free: 12.78 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.407/9.116, allocations: 4 kB / 1.309 GB, free: 12.77 MB / 0.823 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)