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.ACLineMatrix_RL_N.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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 252 MB / 267 MB, free: 10.93 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.001031/0.001031, allocations: 174.8 kB / 326.6 MB, free: 2.203 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.643/1.643, allocations: 205.4 MB / 0.5776 GB, free: 20.23 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.0007997/0.0007997, allocations: 87.36 kB / 0.6823 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003063, allocations: 10.62 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2156, allocations: 106.3 MB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01743/0.2331, allocations: 21.24 MB / 0.9211 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009284/0.2424, allocations: 6.245 MB / 0.9272 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.2448, allocations: 79.5 kB / 0.9272 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.2463, allocations: 460.5 kB / 0.9277 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.2498, allocations: 1.54 MB / 0.9292 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.2525, allocations: 0.904 MB / 0.9301 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007277/0.2598, allocations: 8.166 MB / 0.938 GB, free: 25.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008904/0.2688, allocations: 7.086 MB / 0.945 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003658/0.2725, allocations: 2.121 MB / 0.947 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004471/0.277, allocations: 3.127 MB / 0.9501 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001216/0.2782, allocations: 244 kB / 0.9503 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.2805, allocations: 0.5814 MB / 0.9509 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002274/0.2828, allocations: 2.097 MB / 0.9529 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.284, allocations: 0.8394 MB / 0.9537 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005878/0.2898, allocations: 6.998 MB / 0.9606 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.2899, allocations: 0 / 0.9606 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.256e-06/0.2899, allocations: 0 / 0.9606 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003084/0.2902, allocations: 0 / 0.9606 GB, free: 1.832 MB / 0.6042 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.008215/0.2984, allocations: 3.622 MB / 0.9641 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.2985, allocations: 16.03 kB / 0.9641 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001998/0.3005, allocations: 0.5712 MB / 0.9647 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00928/0.3098, allocations: 1.676 MB / 0.9663 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005815/0.3157, allocations: 2.509 MB / 0.9688 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/0.316, allocations: 275.3 kB / 0.969 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/0.3176, allocations: 359.9 kB / 0.9694 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.3324, allocations: 7.455 MB / 0.9767 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.3326, allocations: 11.94 kB / 0.9767 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005359/0.3331, allocations: 155.9 kB / 0.9768 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006249/0.3338, allocations: 495.2 kB / 0.9773 GB, free: 312 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/0.3449, allocations: 5.678 MB / 0.9828 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03776/0.3827, allocations: 31.66 MB / 1.014 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.3859, allocations: 2.082 MB / 1.016 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/0.389, allocations: 2.163 MB / 1.018 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.3892, allocations: 17.31 kB / 1.018 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.3893, allocations: 51.88 kB / 1.018 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 6.082e-06/0.3893, allocations: 0 / 1.018 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of matching and sorting (n=251): time 0.748/1.137, allocations: 75.26 MB / 1.091 GB, free: 128.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/1.137, allocations: 77.41 kB / 1.092 GB, free: 128.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/1.14, allocations: 1.653 MB / 1.093 GB, free: 127.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005247/1.14, allocations: 69.14 kB / 1.093 GB, free: 127.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008231/1.141, allocations: 1.748 MB / 1.095 GB, free: 125.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007211/1.142, allocations: 0.8514 MB / 1.096 GB, free: 124.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/1.142, allocations: 48 kB / 1.096 GB, free: 124.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.142, allocations: 407.2 kB / 1.096 GB, free: 124.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/1.145, allocations: 2.718 MB / 1.099 GB, free: 121.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003375/1.148, allocations: 3.328 MB / 1.102 GB, free: 118.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/1.152, allocations: 3.055 MB / 1.105 GB, free: 115.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/1.152, allocations: 8 kB / 1.105 GB, free: 115.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03447/1.186, allocations: 14.64 MB / 1.119 GB, free: 100.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/1.186, allocations: 16.25 kB / 1.119 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/1.187, allocations: 20 kB / 1.119 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0407/1.227, allocations: 9.235 MB / 1.128 GB, free: 91.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.229, allocations: 303.5 kB / 1.129 GB, free: 90.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09067/1.32, allocations: 47.06 MB / 1.175 GB, free: 42.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/1.323, allocations: 223.7 kB / 1.175 GB, free: 42.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/1.323, allocations: 96 kB / 1.175 GB, free: 42.62 MB / 0.698 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.00272/1.326, allocations: 1.586 MB / 1.177 GB, free: 41.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005541/1.326, allocations: 245.1 kB / 1.177 GB, free: 40.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02757/1.354, allocations: 14.72 MB / 1.191 GB, free: 26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/1.354, allocations: 25.22 kB / 1.191 GB, free: 25.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001403/1.354, allocations: 44 kB / 1.191 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.832e-05/1.354, allocations: 11.95 kB / 1.191 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.036/1.39, allocations: 20.48 MB / 1.211 GB, free: 5.297 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/1.39, allocations: 8 kB / 1.211 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007354/1.391, allocations: 172.5 kB / 1.211 GB, free: 5.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02742/1.419, allocations: 8.99 MB / 1.22 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005364/1.419, allocations: 51.98 kB / 1.22 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0766/1.496, allocations: 46.69 MB / 1.266 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/1.496, allocations: 11.94 kB / 1.266 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03309/1.529, allocations: 14.32 MB / 1.28 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/1.531, allocations: 0.8493 MB / 1.281 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006851/1.532, allocations: 52 kB / 1.281 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.534, allocations: 211.7 kB / 1.281 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001237/1.536, allocations: 245.5 kB / 1.281 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/1.536, allocations: 64 kB / 1.281 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001791/1.538, allocations: 1.11 MB / 1.282 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.9e-07/1.538, allocations: 0 / 1.282 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.006042/1.544, allocations: 1.594 MB / 1.284 GB, free: 9.91 MB / 0.7761 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.03432/1.578, allocations: 14.95 MB / 1.298 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02258/1.601, allocations: 10.33 MB / 1.309 GB, free: 448 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.601, allocations: 0 / 1.309 GB, free: 448 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.01701/1.618, allocations: 7.158 MB / 1.316 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/1.621, allocations: 0.5155 MB / 1.316 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07033/1.691, allocations: 35.9 MB / 1.351 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003837/1.695, allocations: 3.227 MB / 1.354 GB, free: 156 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001305/1.697, allocations: 391.3 kB / 1.355 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/1.698, allocations: 1.483 MB / 1.356 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of SimCode: time 1.643e-06/1.698, allocations: 0 / 1.356 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.622/2.32, allocations: 112.3 MB / 1.466 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/2.321, allocations: 246.6 kB / 1.466 GB, free: 242.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.82/7.14, allocations: 4 kB / 1.466 GB, free: 242.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)