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.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.453/1.453, allocations: 251.5 MB / 266.7 MB, free: 10.97 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.0009613/0.0009612, allocations: 178.9 kB / 325.8 MB, free: 2.656 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.576/1.576, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006765/0.0006765, allocations: 86.28 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003215, allocations: 8.875 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1611, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01458/0.1757, allocations: 22.07 MB / 0.9178 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00738/0.1831, allocations: 6.272 MB / 0.9239 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.1848, allocations: 83.5 kB / 0.924 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.1878, allocations: 1.407 MB / 0.9254 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.1908, allocations: 1.541 MB / 0.9269 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.1931, allocations: 1.226 MB / 0.9281 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005486/0.1986, allocations: 8.818 MB / 0.9367 GB, free: 26.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006983/0.2056, allocations: 6.694 MB / 0.9432 GB, free: 19.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.2081, allocations: 1.813 MB / 0.945 GB, free: 17.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.2105, allocations: 2.601 MB / 0.9475 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003872/0.2109, allocations: 204 kB / 0.9477 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.2127, allocations: 1.022 MB / 0.9487 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.214, allocations: 1.711 MB / 0.9504 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.2154, allocations: 1.788 MB / 0.9521 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004723/0.2201, allocations: 6.966 MB / 0.9589 GB, free: 3.566 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2202, allocations: 0 / 0.9589 GB, free: 3.566 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2202, allocations: 4 kB / 0.9589 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.239e-05/0.2203, allocations: 0 / 0.9589 GB, free: 3.562 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.003945/0.2242, allocations: 3.068 MB / 0.9619 GB, free: 444 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.2243, allocations: 8.031 kB / 0.9619 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005272/0.2248, allocations: 0.4976 MB / 0.9624 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005382/0.2302, allocations: 1.221 MB / 0.9636 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.2341, allocations: 2.219 MB / 0.9658 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.2343, allocations: 242.4 kB / 0.966 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/0.2348, allocations: 315.9 kB / 0.9663 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009318/0.2441, allocations: 6.212 MB / 0.9724 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.228e-05/0.2442, allocations: 19.86 kB / 0.9724 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003118/0.2446, allocations: 139.9 kB / 0.9725 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004519/0.245, allocations: 410.3 kB / 0.9729 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006714/0.2517, allocations: 4.658 MB / 0.9775 GB, free: 172 kB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02615/0.2779, allocations: 29.05 MB / 1.006 GB, free: 416 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.2798, allocations: 1.412 MB / 1.007 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.2815, allocations: 1.487 MB / 1.009 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.2816, allocations: 13 kB / 1.009 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.2817, allocations: 47.5 kB / 1.009 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 3.096e-06/0.2817, allocations: 0 / 1.009 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=179): time 0.1259/0.4076, allocations: 36.32 MB / 1.044 GB, free: 9.031 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.4077, allocations: 73.34 kB / 1.044 GB, free: 8.949 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.4095, allocations: 1.419 MB / 1.046 GB, free: 7.523 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002361/0.4098, allocations: 53.7 kB / 1.046 GB, free: 7.465 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008428/0.4106, allocations: 1.535 MB / 1.047 GB, free: 5.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005153/0.4111, allocations: 0.6123 MB / 1.048 GB, free: 5.289 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.4114, allocations: 165.6 kB / 1.048 GB, free: 5.121 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.4115, allocations: 305.1 kB / 1.048 GB, free: 4.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/0.4138, allocations: 1.788 MB / 1.05 GB, free: 3.027 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002677/0.4165, allocations: 2.346 MB / 1.052 GB, free: 436 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3221/0.7386, allocations: 4.384 MB / 1.057 GB, free: 142.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.7387, allocations: 8.094 kB / 1.057 GB, free: 142.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01763/0.7563, allocations: 8.561 MB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.7564, allocations: 12.5 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/0.7564, allocations: 23.22 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01369/0.7701, allocations: 4.633 MB / 1.069 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.7712, allocations: 312.2 kB / 1.07 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03431/0.8055, allocations: 29.48 MB / 1.099 GB, free: 122.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.8073, allocations: 159.7 kB / 1.099 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.8075, allocations: 80 kB / 1.099 GB, free: 121.9 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001639/0.8091, allocations: 1.331 MB / 1.1 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.8094, allocations: 197.7 kB / 1.1 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.8232, allocations: 8.438 MB / 1.109 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.8232, allocations: 20 kB / 1.109 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-05/0.8233, allocations: 28 kB / 1.109 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.8233, allocations: 13.03 kB / 1.109 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01887/0.8422, allocations: 12.84 MB / 1.121 GB, free: 98.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.8422, allocations: 10.78 kB / 1.121 GB, free: 98.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.8428, allocations: 163.8 kB / 1.121 GB, free: 98.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0123/0.8551, allocations: 4.491 MB / 1.126 GB, free: 94.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.8554, allocations: 36 kB / 1.126 GB, free: 94.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03381/0.8892, allocations: 29.1 MB / 1.154 GB, free: 64.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.8892, allocations: 19.88 kB / 1.154 GB, free: 64.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/0.9032, allocations: 8.236 MB / 1.162 GB, free: 55.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.9042, allocations: 0.6156 MB / 1.163 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004318/0.9047, allocations: 48.03 kB / 1.163 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.906, allocations: 139.7 kB / 1.163 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006797/0.9067, allocations: 166.1 kB / 1.163 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.9069, allocations: 48 kB / 1.163 GB, free: 54.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001034/0.9079, allocations: 0.9588 MB / 1.164 GB, free: 53.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9079, allocations: 0 / 1.164 GB, free: 53.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002699/0.9106, allocations: 1.105 MB / 1.165 GB, free: 52.84 MB / 0.698 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01368/0.9243, allocations: 8.841 MB / 1.174 GB, free: 43.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00936/0.9337, allocations: 6.426 MB / 1.18 GB, free: 37.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.9337, allocations: 3.844 kB / 1.18 GB, free: 37.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007263/0.941, allocations: 4.286 MB / 1.184 GB, free: 33.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/0.9446, allocations: 0.4904 MB / 1.185 GB, free: 32.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05153/0.9961, allocations: 36.7 MB / 1.221 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003362/0.9995, allocations: 2.723 MB / 1.223 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001114/1.001, allocations: 388.6 kB / 1.224 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/1.002, allocations: 1.214 MB / 1.225 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/1.002, allocations: 0 / 1.225 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5582/1.56, allocations: 78.68 MB / 1.302 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004095/1.561, allocations: 268.5 kB / 1.302 GB, free: 7.242 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.95/5.511, allocations: 0 / 1.302 GB, free: 7.242 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)