Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 111.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 185.9 kB / 16.25 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 292.3 MB / 0.5486 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 65.97 kB / 0.6711 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2135, allocations: 114.6 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02389/0.2375, allocations: 22.42 MB / 0.8049 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.2478, allocations: 6.226 MB / 0.811 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.2498, allocations: 83.5 kB / 0.811 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003805/0.2536, allocations: 1.419 MB / 0.8124 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003646/0.2573, allocations: 1.506 MB / 0.8139 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.2602, allocations: 1.23 MB / 0.8151 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006149/0.2664, allocations: 5.955 MB / 0.8209 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009212/0.2756, allocations: 7.259 MB / 0.828 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003705/0.2793, allocations: 2.453 MB / 0.8304 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004482/0.2838, allocations: 3.038 MB / 0.8334 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.285, allocations: 456 kB / 0.8338 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.2879, allocations: 1.096 MB / 0.8349 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002769/0.2907, allocations: 2.039 MB / 0.8369 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002626/0.2933, allocations: 2.167 MB / 0.839 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006518/0.2998, allocations: 7.303 MB / 0.8461 GB, free: 12.88 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2999, allocations: 0 / 0.8461 GB, free: 12.88 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2999, allocations: 4 kB / 0.8461 GB, free: 12.88 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001388/0.3, allocations: 0 / 0.8461 GB, free: 12.88 MB / 0.67 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.006661/0.3067, allocations: 3.816 MB / 0.8498 GB, free: 9 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.3068, allocations: 12.03 kB / 0.8499 GB, free: 8.988 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000635/0.3074, allocations: 0.4975 MB / 0.8503 GB, free: 8.48 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005852/0.3133, allocations: 1.21 MB / 0.8515 GB, free: 7.266 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.3169, allocations: 2.219 MB / 0.8537 GB, free: 4.988 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.3171, allocations: 238.4 kB / 0.8539 GB, free: 4.754 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005061/0.3176, allocations: 315.9 kB / 0.8542 GB, free: 4.445 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009525/0.3271, allocations: 6.212 MB / 0.8603 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.746e-05/0.3272, allocations: 15.88 kB / 0.8603 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/0.3276, allocations: 140 kB / 0.8604 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004266/0.328, allocations: 410.3 kB / 0.8608 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007421/0.3355, allocations: 4.654 MB / 0.8654 GB, free: 8.758 MB / 0.6856 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.02866/0.3641, allocations: 29.13 MB / 0.8938 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.3661, allocations: 1.416 MB / 0.8952 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.368, allocations: 1.491 MB / 0.8967 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.3681, allocations: 12.94 kB / 0.8967 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3681, allocations: 51.5 kB / 0.8967 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 2.736e-06/0.3681, allocations: 0 / 0.8967 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=179): time 0.5266/0.8948, allocations: 37.23 MB / 0.9331 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.8949, allocations: 79.31 kB / 0.9331 GB, free: 127.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.8971, allocations: 1.42 MB / 0.9345 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000353/0.8975, allocations: 59.5 kB / 0.9346 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009865/0.8985, allocations: 1.536 MB / 0.9361 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000651/0.8992, allocations: 0.6046 MB / 0.9367 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009028/0.9001, allocations: 381.2 kB / 0.937 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.9001, allocations: 305.4 kB / 0.9373 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/0.9027, allocations: 1.784 MB / 0.9391 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/0.9053, allocations: 2.355 MB / 0.9414 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005242/0.9105, allocations: 4.385 MB / 0.9457 GB, free: 120.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.9105, allocations: 5.156 kB / 0.9457 GB, free: 120.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01634/0.9269, allocations: 8.568 MB / 0.954 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.927, allocations: 16 kB / 0.954 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.927, allocations: 18.03 kB / 0.9541 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01362/0.9406, allocations: 4.669 MB / 0.9586 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.9418, allocations: 303.4 kB / 0.9589 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03719/0.979, allocations: 32.61 MB / 0.9908 GB, free: 82.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.9813, allocations: 147.1 kB / 0.9909 GB, free: 82.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.9815, allocations: 91.92 kB / 0.991 GB, free: 82.29 MB / 0.7325 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.001817/0.9834, allocations: 1.333 MB / 0.9923 GB, free: 80.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/0.9838, allocations: 197.7 kB / 0.9925 GB, free: 80.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/0.9979, allocations: 8.433 MB / 1.001 GB, free: 72.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.998, allocations: 23.94 kB / 1.001 GB, free: 72.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.572e-05/0.998, allocations: 24 kB / 1.001 GB, free: 72.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/0.9981, allocations: 8.719 kB / 1.001 GB, free: 72.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/1.017, allocations: 12.85 MB / 1.013 GB, free: 59.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.017, allocations: 4 kB / 1.013 GB, free: 59.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/1.018, allocations: 171.7 kB / 1.013 GB, free: 59.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01241/1.03, allocations: 4.513 MB / 1.018 GB, free: 54.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/1.03, allocations: 40 kB / 1.018 GB, free: 54.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03606/1.066, allocations: 32.22 MB / 1.049 GB, free: 21.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.066, allocations: 12.62 kB / 1.049 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/1.08, allocations: 8.243 MB / 1.057 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/1.081, allocations: 0.6079 MB / 1.058 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/1.082, allocations: 43.92 kB / 1.058 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.083, allocations: 139.8 kB / 1.058 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007419/1.084, allocations: 175 kB / 1.058 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/1.084, allocations: 56.94 kB / 1.058 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009646/1.085, allocations: 0.9588 MB / 1.059 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.085, allocations: 0 / 1.059 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002702/1.088, allocations: 1.117 MB / 1.06 GB, free: 9.984 MB / 0.7325 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.01382/1.101, allocations: 8.836 MB / 1.069 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01295/1.114, allocations: 7.062 MB / 1.076 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.114, allocations: 4 kB / 1.076 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.008817/1.123, allocations: 4.358 MB / 1.08 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.126, allocations: 0.5241 MB / 1.081 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06198/1.188, allocations: 36.73 MB / 1.117 GB, free: 14.53 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003721/1.192, allocations: 2.723 MB / 1.119 GB, free: 11.77 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00117/1.193, allocations: 390.2 kB / 1.12 GB, free: 11.39 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/1.194, allocations: 1.214 MB / 1.121 GB, free: 10.18 MB / 0.795 GB Notification: Performance of SimCode: time 9.11e-07/1.194, allocations: 0 / 1.121 GB, free: 10.18 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.138/1.332, allocations: 83.29 MB / 1.202 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/1.332, allocations: 265.3 kB / 1.202 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/4.356, allocations: 0 / 1.202 GB, free: 7.172 MB / 0.8731 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)