Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 1.673/1.673, allocations: 287.4 MB / 302.6 MB, free: 8.305 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.001535/0.001535, allocations: 182 kB / 371.1 MB, free: 10.81 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.733/1.733, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009277/0.0009277, allocations: 102.7 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004257, allocations: 16.78 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2448, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01791/0.2628, allocations: 20.5 MB / 0.9988 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009173/0.272, allocations: 5.979 MB / 1.005 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.2738, allocations: 75.56 kB / 1.005 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.2749, allocations: 428.6 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003381/0.2783, allocations: 1.342 MB / 1.006 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.2811, allocations: 0.8235 MB / 1.007 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007813/0.2889, allocations: 6.905 MB / 1.014 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.3005, allocations: 7.098 MB / 1.021 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.3045, allocations: 1.794 MB / 1.023 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005332/0.3099, allocations: 2.551 MB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.3111, allocations: 204 kB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.3133, allocations: 0.5424 MB / 1.026 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001995/0.3153, allocations: 1.711 MB / 1.028 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.3164, allocations: 0.7342 MB / 1.028 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006096/0.3225, allocations: 5.984 MB / 1.034 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3225, allocations: 4 kB / 1.034 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3225, allocations: 0 / 1.034 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001933/0.3227, allocations: 4 kB / 1.034 GB, free: 3.176 MB / 0.6511 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.006236/0.329, allocations: 3.076 MB / 1.037 GB, free: 40 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.329, allocations: 8.031 kB / 1.037 GB, free: 32 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008019/0.3298, allocations: 0.5015 MB / 1.038 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005461/0.3353, allocations: 1.21 MB / 1.039 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/0.3392, allocations: 2.219 MB / 1.041 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.3394, allocations: 246.4 kB / 1.041 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005158/0.34, allocations: 308 kB / 1.041 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.35, allocations: 6.181 MB / 1.047 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/0.3502, allocations: 23.77 kB / 1.048 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005389/0.3507, allocations: 139.9 kB / 1.048 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005402/0.3513, allocations: 402.3 kB / 1.048 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008374/0.3597, allocations: 4.643 MB / 1.053 GB, free: 15.84 MB / 0.6823 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.4835/0.8432, allocations: 29.03 MB / 1.081 GB, free: 68.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/0.8467, allocations: 1.413 MB / 1.082 GB, free: 68.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002982/0.8497, allocations: 1.482 MB / 1.084 GB, free: 67.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.8499, allocations: 15.34 kB / 1.084 GB, free: 67.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.85, allocations: 45.94 kB / 1.084 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.328e-06/0.85, allocations: 1.031 kB / 1.084 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179): time 0.1413/0.9912, allocations: 36.32 MB / 1.119 GB, free: 56.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.9913, allocations: 77.28 kB / 1.119 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.9935, allocations: 1.405 MB / 1.121 GB, free: 56.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003225/0.9938, allocations: 49.64 kB / 1.121 GB, free: 56.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007876/0.9946, allocations: 1.545 MB / 1.122 GB, free: 54.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00068/0.9953, allocations: 0.6151 MB / 1.123 GB, free: 54.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.9955, allocations: 41.5 kB / 1.123 GB, free: 54.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.9957, allocations: 383 kB / 1.123 GB, free: 53.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/0.998, allocations: 1.779 MB / 1.125 GB, free: 52.07 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/1, allocations: 2.346 MB / 1.127 GB, free: 49.47 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004664/1.005, allocations: 4.367 MB / 1.132 GB, free: 44.87 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/1.005, allocations: 15.38 kB / 1.132 GB, free: 44.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01593/1.021, allocations: 8.543 MB / 1.14 GB, free: 36.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/1.021, allocations: 19.98 kB / 1.14 GB, free: 36.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/1.021, allocations: 16 kB / 1.14 GB, free: 36.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/1.035, allocations: 4.621 MB / 1.144 GB, free: 31.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.036, allocations: 299.5 kB / 1.145 GB, free: 31.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03723/1.074, allocations: 29.47 MB / 1.174 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/1.076, allocations: 147.8 kB / 1.174 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003579/1.076, allocations: 88 kB / 1.174 GB, free: 0.8086 MB / 0.6823 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.002636/1.079, allocations: 1.328 MB / 1.175 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006336/1.08, allocations: 197.6 kB / 1.175 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01825/1.098, allocations: 8.425 MB / 1.183 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/1.098, allocations: 16 kB / 1.184 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001054/1.098, allocations: 28 kB / 1.184 GB, free: 6.758 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.376e-05/1.098, allocations: 7.969 kB / 1.184 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.125, allocations: 12.83 MB / 1.196 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.111e-05/1.125, allocations: 8 kB / 1.196 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000837/1.126, allocations: 163.7 kB / 1.196 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01511/1.141, allocations: 4.487 MB / 1.201 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004879/1.142, allocations: 43.98 kB / 1.201 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04552/1.188, allocations: 29.05 MB / 1.229 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/1.188, allocations: 11.94 kB / 1.229 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01811/1.206, allocations: 8.221 MB / 1.237 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/1.208, allocations: 0.6234 MB / 1.238 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.209, allocations: 40.09 kB / 1.238 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/1.212, allocations: 139.9 kB / 1.238 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001197/1.213, allocations: 180.8 kB / 1.238 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003778/1.214, allocations: 48 kB / 1.238 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002701/1.217, allocations: 0.9392 MB / 1.239 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.71e-07/1.217, allocations: 0 / 1.239 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00707/1.224, allocations: 1.105 MB / 1.24 GB, free: 11.76 MB / 0.7605 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.02625/1.25, allocations: 8.82 MB / 1.249 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01909/1.269, allocations: 6.409 MB / 1.255 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/1.269, allocations: 4 kB / 1.255 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01356/1.283, allocations: 4.281 MB / 1.259 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005706/1.288, allocations: 498.9 kB / 1.26 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04723/1.336, allocations: 24.53 MB / 1.284 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003967/1.34, allocations: 2.723 MB / 1.286 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001295/1.341, allocations: 388.6 kB / 1.287 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/1.343, allocations: 1.214 MB / 1.288 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/1.343, allocations: 3.938 kB / 1.288 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.465, allocations: 78.62 MB / 1.365 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.465, allocations: 235.6 kB / 1.365 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.58/5.045, allocations: 0 / 1.365 GB, free: 11.14 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)