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.425/1.425, allocations: 251.9 MB / 266.8 MB, free: 11.04 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.001279/0.001278, allocations: 173.7 kB / 326.5 MB, free: 2.25 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.93/1.93, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008811/0.0008815, allocations: 97.72 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 9.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2253, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02333/0.2487, allocations: 19.79 MB / 0.9195 GB, free: 44.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.2592, allocations: 6.018 MB / 0.9254 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.2612, allocations: 79.5 kB / 0.9254 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.2622, allocations: 421.3 kB / 0.9258 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.2656, allocations: 1.106 MB / 0.9269 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.2679, allocations: 0.8317 MB / 0.9277 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003582/0.2715, allocations: 2.8 MB / 0.9305 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007454/0.279, allocations: 6.193 MB / 0.9365 GB, free: 26.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.2816, allocations: 1.499 MB / 0.938 GB, free: 24.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003095/0.2847, allocations: 1.721 MB / 0.9397 GB, free: 23.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007731/0.2855, allocations: 200 kB / 0.9399 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.2876, allocations: 451.6 kB / 0.9403 GB, free: 22.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.2893, allocations: 1.567 MB / 0.9418 GB, free: 21.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.2905, allocations: 0.7303 MB / 0.9425 GB, free: 20.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006121/0.2966, allocations: 5.883 MB / 0.9483 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2966, allocations: 0 / 0.9483 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2967, allocations: 0 / 0.9483 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002117/0.2969, allocations: 0 / 0.9483 GB, free: 14.42 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.008912/0.3058, allocations: 3.087 MB / 0.9513 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.3059, allocations: 8.031 kB / 0.9513 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002118/0.308, allocations: 0.5052 MB / 0.9518 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009124/0.3172, allocations: 1.256 MB / 0.953 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00752/0.3247, allocations: 2.161 MB / 0.9551 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004467/0.3253, allocations: 238.4 kB / 0.9554 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/0.3275, allocations: 311.9 kB / 0.9557 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.3466, allocations: 6.162 MB / 0.9617 GB, free: 316 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/0.3469, allocations: 15.78 kB / 0.9617 GB, free: 300 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001603/0.3485, allocations: 151.9 kB / 0.9618 GB, free: 148 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008596/0.3494, allocations: 402.3 kB / 0.9622 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.3632, allocations: 4.639 MB / 0.9667 GB, free: 11.1 MB / 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.03965/0.4029, allocations: 29.03 MB / 0.9951 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.4053, allocations: 1.416 MB / 0.9965 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.4056, allocations: 16.94 kB / 0.9965 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.4056, allocations: 39.56 kB / 0.9965 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=110): time 6.953e-06/0.4056, allocations: 0 / 0.9965 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of matching and sorting (n=179): time 0.1585/0.5642, allocations: 36.32 MB / 1.032 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.5643, allocations: 69.41 kB / 1.032 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.5667, allocations: 1.408 MB / 1.033 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003876/0.5671, allocations: 49.7 kB / 1.033 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.5682, allocations: 1.539 MB / 1.035 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00072/0.569, allocations: 0.6123 MB / 1.036 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.5692, allocations: 40 kB / 1.036 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5694, allocations: 381.9 kB / 1.036 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002521/0.5719, allocations: 1.784 MB / 1.038 GB, free: 15.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/0.5747, allocations: 2.335 MB / 1.04 GB, free: 12.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.5775, allocations: 2.051 MB / 1.042 GB, free: 10.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.5775, allocations: 4 kB / 1.042 GB, free: 10.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01809/0.5956, allocations: 8.54 MB / 1.05 GB, free: 2.316 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.5957, allocations: 12.94 kB / 1.05 GB, free: 2.305 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.65e-05/0.5957, allocations: 23.94 kB / 1.05 GB, free: 2.281 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4119/1.008, allocations: 4.628 MB / 1.055 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/1.009, allocations: 303.8 kB / 1.055 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04577/1.055, allocations: 30.82 MB / 1.085 GB, free: 125.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/1.057, allocations: 152.5 kB / 1.085 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/1.057, allocations: 85.62 kB / 1.086 GB, free: 125.5 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 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001911/1.059, allocations: 1.332 MB / 1.087 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/1.059, allocations: 197.8 kB / 1.087 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/1.076, allocations: 8.417 MB / 1.095 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/1.076, allocations: 19.69 kB / 1.095 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.348e-05/1.076, allocations: 23.19 kB / 1.095 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.069e-05/1.076, allocations: 7.969 kB / 1.095 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02198/1.098, allocations: 12.83 MB / 1.108 GB, free: 110.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/1.098, allocations: 7.953 kB / 1.108 GB, free: 110.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006963/1.099, allocations: 167.7 kB / 1.108 GB, free: 110.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01292/1.112, allocations: 4.477 MB / 1.112 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003062/1.112, allocations: 36.88 kB / 1.112 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03629/1.148, allocations: 30.46 MB / 1.142 GB, free: 74.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.148, allocations: 11.94 kB / 1.142 GB, free: 74.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/1.163, allocations: 8.627 MB / 1.151 GB, free: 66.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/1.165, allocations: 0.6221 MB / 1.151 GB, free: 65.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006432/1.166, allocations: 43.98 kB / 1.151 GB, free: 65.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.167, allocations: 131.8 kB / 1.151 GB, free: 65.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007444/1.168, allocations: 176.8 kB / 1.152 GB, free: 65.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/1.168, allocations: 52 kB / 1.152 GB, free: 65.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001344/1.17, allocations: 0.9392 MB / 1.152 GB, free: 64.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/1.17, allocations: 0 / 1.152 GB, free: 64.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004128/1.174, allocations: 1.102 MB / 1.154 GB, free: 62.98 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 (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 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01598/1.19, allocations: 10.99 MB / 1.164 GB, free: 51.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.202, allocations: 6.403 MB / 1.171 GB, free: 45.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.202, allocations: 0 / 1.171 GB, free: 45.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008942/1.211, allocations: 4.297 MB / 1.175 GB, free: 40.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/1.214, allocations: 459.9 kB / 1.175 GB, free: 40.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0453/1.26, allocations: 36.04 MB / 1.21 GB, free: 3.277 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003137/1.263, allocations: 2.789 MB / 1.213 GB, free: 468 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001285/1.264, allocations: 392.5 kB / 1.213 GB, free: 72 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/1.266, allocations: 1.219 MB / 1.215 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of SimCode: time 2.073e-06/1.266, allocations: 0 / 1.215 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.143/1.409, allocations: 78.6 MB / 1.291 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/1.409, allocations: 245.1 kB / 1.292 GB, free: 0.5352 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.633/5.042, allocations: 0 / 1.292 GB, free: 0.5352 MB / 0.7761 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)