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_RL_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_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.769/1.769, allocations: 288.4 MB / 303.6 MB, free: 8.023 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.001002/0.001002, allocations: 176.5 kB / 372.3 MB, free: 10.11 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.306/1.306, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0007332/0.0007332, allocations: 90.34 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 13.31 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, 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_RL_N): time 0.0141/0.1583, allocations: 21.24 MB / 1.001 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006952/0.1652, allocations: 6.245 MB / 1.007 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.1665, allocations: 79.5 kB / 1.007 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009823/0.1675, allocations: 456.5 kB / 1.008 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002796/0.1703, allocations: 1.638 MB / 1.009 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.1722, allocations: 0.9505 MB / 1.01 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005916/0.1781, allocations: 8.221 MB / 1.018 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008693/0.1868, allocations: 7.961 MB / 1.026 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.1891, allocations: 2.113 MB / 1.028 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/0.192, allocations: 3.139 MB / 1.031 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003379/0.1924, allocations: 244 kB / 1.031 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.1939, allocations: 1.022 MB / 1.032 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.1954, allocations: 2.097 MB / 1.034 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.197, allocations: 2.028 MB / 1.036 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004599/0.2016, allocations: 7.025 MB / 1.043 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2016, allocations: 0 / 1.043 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2016, allocations: 0 / 1.043 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.375e-05/0.2017, allocations: 4 kB / 1.043 GB, free: 10.54 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.004787/0.2065, allocations: 3.558 MB / 1.047 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2065, allocations: 12.03 kB / 1.047 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006199/0.2072, allocations: 0.5791 MB / 1.047 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006895/0.2141, allocations: 1.681 MB / 1.049 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.2175, allocations: 2.571 MB / 1.051 GB, free: 1.996 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.2176, allocations: 271.7 kB / 1.052 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004994/0.2181, allocations: 364.3 kB / 1.052 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009096/0.2272, allocations: 7.463 MB / 1.059 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.98e-05/0.2273, allocations: 15.78 kB / 1.059 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/0.2277, allocations: 155.9 kB / 1.059 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004739/0.2282, allocations: 487.3 kB / 1.06 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007163/0.2353, allocations: 5.681 MB / 1.065 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3132/0.5485, allocations: 31.66 MB / 1.096 GB, free: 57.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.5511, allocations: 2.083 MB / 1.098 GB, free: 56.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.5537, allocations: 2.173 MB / 1.1 GB, free: 56.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.5539, allocations: 19.09 kB / 1.1 GB, free: 56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.5539, allocations: 46.11 kB / 1.101 GB, free: 55.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 3.156e-06/0.5539, allocations: 1.188 kB / 1.101 GB, free: 55.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.2435/0.7974, allocations: 75.28 MB / 1.174 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.7975, allocations: 77.41 kB / 1.174 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.7992, allocations: 1.654 MB / 1.176 GB, free: 15.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.7994, allocations: 61.7 kB / 1.176 GB, free: 15.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009065/0.8003, allocations: 1.75 MB / 1.178 GB, free: 13.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006344/0.801, allocations: 0.8577 MB / 1.178 GB, free: 12.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.8012, allocations: 48 kB / 1.178 GB, free: 12.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8014, allocations: 415.2 kB / 1.179 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/0.8046, allocations: 2.718 MB / 1.181 GB, free: 9.328 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003562/0.8082, allocations: 3.327 MB / 1.185 GB, free: 5.758 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00722/0.8154, allocations: 6.378 MB / 1.191 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.495e-06/0.8154, allocations: 8 kB / 1.191 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02818/0.8436, allocations: 14.66 MB / 1.205 GB, free: 436 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.8437, allocations: 12 kB / 1.205 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.8437, allocations: 20.12 kB / 1.205 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02614/0.8698, allocations: 9.234 MB / 1.214 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009954/0.8709, allocations: 299.4 kB / 1.215 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0648/0.9357, allocations: 47.08 MB / 1.261 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.9379, allocations: 223.7 kB / 1.261 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/0.9382, allocations: 100 kB / 1.261 GB, free: 6.621 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002328/0.9405, allocations: 1.587 MB / 1.262 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000436/0.9409, allocations: 241.1 kB / 1.263 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02865/0.9696, allocations: 14.74 MB / 1.277 GB, free: 5.996 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.9696, allocations: 24 kB / 1.277 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-05/0.9697, allocations: 44 kB / 1.277 GB, free: 5.93 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.9697, allocations: 11.95 kB / 1.277 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03503/1.005, allocations: 20.5 MB / 1.297 GB, free: 1.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.005, allocations: 8 kB / 1.297 GB, free: 1.258 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/1.005, allocations: 163.7 kB / 1.297 GB, free: 1.098 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02406/1.029, allocations: 9 MB / 1.306 GB, free: 8.074 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/1.03, allocations: 55.92 kB / 1.306 GB, free: 8.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06378/1.093, allocations: 46.7 MB / 1.352 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/1.093, allocations: 11.94 kB / 1.352 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02775/1.121, allocations: 14.34 MB / 1.366 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.123, allocations: 0.8416 MB / 1.367 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/1.123, allocations: 48 kB / 1.367 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/1.125, allocations: 215.7 kB / 1.367 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009166/1.126, allocations: 237.5 kB / 1.367 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/1.126, allocations: 68 kB / 1.367 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0012/1.127, allocations: 1.113 MB / 1.368 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/1.127, allocations: 0 / 1.368 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003142/1.13, allocations: 1.594 MB / 1.37 GB, free: 5.848 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02653/1.157, allocations: 14.96 MB / 1.384 GB, free: 6.742 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01773/1.175, allocations: 10.34 MB / 1.394 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.175, allocations: 3.938 kB / 1.394 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01384/1.188, allocations: 7.15 MB / 1.401 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.192, allocations: 0.5098 MB / 1.402 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3178/1.509, allocations: 35.89 MB / 1.437 GB, free: 312.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003175/1.513, allocations: 3.227 MB / 1.44 GB, free: 312 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009007/1.514, allocations: 391.6 kB / 1.441 GB, free: 311.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009918/1.515, allocations: 1.484 MB / 1.442 GB, free: 310.8 MB / 0.9323 GB Notification: Performance of SimCode: time 5.21e-07/1.515, allocations: 0 / 1.442 GB, free: 310.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.559/5.074, allocations: 112.6 MB / 1.552 GB, free: 226.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/5.074, allocations: 249.3 kB / 1.552 GB, free: 226 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/12.1, allocations: 3.938 kB / 1.552 GB, free: 226 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)