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 2.697/2.697, allocations: 287.5 MB / 302.4 MB, free: 8.371 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.001868/0.001868, allocations: 188.9 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.361/2.361, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.000895/0.0008949, allocations: 88.05 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004982, allocations: 11.28 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2133, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0282/0.2415, allocations: 20.5 MB / 0.9985 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.2546, allocations: 5.967 MB / 1.004 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.2568, allocations: 83.5 kB / 1.004 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.2588, allocations: 428.7 kB / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004829/0.2637, allocations: 1.353 MB / 1.006 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.2678, allocations: 0.8178 MB / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01156/0.2793, allocations: 6.85 MB / 1.014 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01555/0.2949, allocations: 6.216 MB / 1.02 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/0.2999, allocations: 1.802 MB / 1.021 GB, free: 80 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006279/0.3062, allocations: 2.555 MB / 1.024 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.3077, allocations: 200 kB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.311, allocations: 0.5424 MB / 1.025 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00368/0.3148, allocations: 1.707 MB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002165/0.317, allocations: 0.7264 MB / 1.027 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.3275, allocations: 5.996 MB / 1.033 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3276, allocations: 0 / 1.033 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 6.241e-06/0.3276, allocations: 7.984 kB / 1.033 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002533/0.3279, allocations: 0 / 1.033 GB, free: 4.312 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.01184/0.3397, allocations: 3.118 MB / 1.036 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.686e-05/0.3398, allocations: 8.031 kB / 1.036 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003016/0.3429, allocations: 0.5013 MB / 1.036 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/0.3565, allocations: 1.205 MB / 1.038 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0067/0.3633, allocations: 2.165 MB / 1.04 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.3637, allocations: 242.4 kB / 1.04 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00136/0.3651, allocations: 311.9 kB / 1.04 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.3833, allocations: 6.185 MB / 1.046 GB, free: 6.199 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.3835, allocations: 19.78 kB / 1.046 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007757/0.3842, allocations: 139.9 kB / 1.046 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008478/0.3851, allocations: 414.3 kB / 1.047 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.3994, allocations: 4.639 MB / 1.051 GB, free: 0.9883 MB / 0.6667 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.684/1.083, allocations: 29.01 MB / 1.08 GB, free: 68.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/1.087, allocations: 1.42 MB / 1.081 GB, free: 68.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003832/1.091, allocations: 1.483 MB / 1.083 GB, free: 68.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002963/1.092, allocations: 10.78 kB / 1.083 GB, free: 68.17 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/1.092, allocations: 48.94 kB / 1.083 GB, free: 68.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.408e-06/1.092, allocations: 0 / 1.083 GB, free: 68.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179): time 0.2561/1.348, allocations: 36.3 MB / 1.118 GB, free: 57.69 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/1.348, allocations: 85.22 kB / 1.118 GB, free: 57.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/1.351, allocations: 1.405 MB / 1.12 GB, free: 56.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004392/1.351, allocations: 57.11 kB / 1.12 GB, free: 56.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009731/1.352, allocations: 1.538 MB / 1.121 GB, free: 55.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008637/1.353, allocations: 0.6081 MB / 1.122 GB, free: 54.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/1.353, allocations: 43.59 kB / 1.122 GB, free: 54.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.353, allocations: 385.5 kB / 1.122 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004113/1.357, allocations: 1.774 MB / 1.124 GB, free: 53.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004424/1.362, allocations: 2.346 MB / 1.126 GB, free: 50.53 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004496/1.367, allocations: 2.051 MB / 1.128 GB, free: 48.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/1.367, allocations: 4 kB / 1.128 GB, free: 48.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02943/1.396, allocations: 8.544 MB / 1.136 GB, free: 39.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/1.396, allocations: 12 kB / 1.136 GB, free: 39.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/1.396, allocations: 16 kB / 1.136 GB, free: 39.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02576/1.422, allocations: 4.627 MB / 1.141 GB, free: 35.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/1.424, allocations: 299.5 kB / 1.141 GB, free: 34.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07551/1.5, allocations: 29.46 MB / 1.17 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/1.503, allocations: 147.8 kB / 1.17 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004921/1.504, allocations: 84 kB / 1.17 GB, free: 4.453 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.003414/1.507, allocations: 1.329 MB / 1.172 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006982/1.508, allocations: 201.6 kB / 1.172 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03203/1.54, allocations: 8.415 MB / 1.18 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.108e-05/1.54, allocations: 16 kB / 1.18 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000117/1.54, allocations: 24 kB / 1.18 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.245e-05/1.54, allocations: 7.969 kB / 1.18 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04605/1.586, allocations: 12.83 MB / 1.193 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.62e-05/1.586, allocations: 7.938 kB / 1.193 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/1.588, allocations: 164.6 kB / 1.193 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02776/1.615, allocations: 4.494 MB / 1.197 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004709/1.616, allocations: 36 kB / 1.197 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07814/1.694, allocations: 29.05 MB / 1.225 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/1.694, allocations: 11.94 kB / 1.226 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03173/1.726, allocations: 8.225 MB / 1.234 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/1.728, allocations: 0.6118 MB / 1.234 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007355/1.729, allocations: 39.98 kB / 1.234 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.732, allocations: 131.9 kB / 1.234 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/1.733, allocations: 180.9 kB / 1.234 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003165/1.734, allocations: 52 kB / 1.235 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002305/1.736, allocations: 0.9431 MB / 1.235 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.01e-07/1.736, allocations: 4 kB / 1.235 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005573/1.741, allocations: 1.106 MB / 1.237 GB, free: 15.42 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.03256/1.774, allocations: 8.807 MB / 1.245 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02226/1.796, allocations: 6.401 MB / 1.251 GB, free: 8 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.796, allocations: 0 / 1.251 GB, free: 8 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01688/1.813, allocations: 4.299 MB / 1.256 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/1.818, allocations: 497.5 kB / 1.256 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07623/1.894, allocations: 24.52 MB / 1.28 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004968/1.899, allocations: 2.723 MB / 1.283 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001973/1.901, allocations: 392.5 kB / 1.283 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002489/1.904, allocations: 1.214 MB / 1.284 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of SimCode: time 1.293e-06/1.904, allocations: 0 / 1.284 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2044/2.108, allocations: 78.63 MB / 1.361 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/2.109, allocations: 232.5 kB / 1.361 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.463/6.572, allocations: 0 / 1.361 GB, free: 14.82 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)