Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 288.2 MB / 303.2 MB, free: 8.07 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.001081/0.001081, allocations: 181.9 kB / 371.8 MB, free: 10.29 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.811/1.811, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0008865/0.0008864, allocations: 111.2 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.000383, allocations: 15.95 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2196, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0153/0.2349, allocations: 19.79 MB / 0.9988 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0086/0.2436, allocations: 6.003 MB / 1.005 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.2456, allocations: 75.5 kB / 1.005 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.2468, allocations: 437.3 kB / 1.005 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.25, allocations: 1.102 MB / 1.006 GB, free: 140 kB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.2526, allocations: 0.831 MB / 1.007 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004017/0.2566, allocations: 2.792 MB / 1.01 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009227/0.2659, allocations: 6.202 MB / 1.016 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.2693, allocations: 1.491 MB / 1.017 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002598/0.272, allocations: 1.713 MB / 1.019 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004136/0.2724, allocations: 208 kB / 1.019 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.2736, allocations: 459.5 kB / 1.02 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.2751, allocations: 1.563 MB / 1.021 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009029/0.276, allocations: 0.7303 MB / 1.022 GB, free: 76 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005646/0.2817, allocations: 5.875 MB / 1.028 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2817, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2817, allocations: 4 kB / 1.028 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001422/0.2818, allocations: 0 / 1.028 GB, free: 10.18 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.005734/0.2876, allocations: 3.091 MB / 1.031 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.2876, allocations: 8.031 kB / 1.031 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007158/0.2884, allocations: 0.4974 MB / 1.031 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00563/0.294, allocations: 1.256 MB / 1.032 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/0.2988, allocations: 2.161 MB / 1.034 GB, free: 3.031 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.2989, allocations: 242.4 kB / 1.035 GB, free: 2.793 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006041/0.2996, allocations: 315.9 kB / 1.035 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.3102, allocations: 6.158 MB / 1.041 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.008e-05/0.3103, allocations: 19.88 kB / 1.041 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003682/0.3107, allocations: 139.9 kB / 1.041 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004906/0.3112, allocations: 414.3 kB / 1.042 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007742/0.3189, allocations: 4.635 MB / 1.046 GB, free: 6.867 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.5172/0.8361, allocations: 29.03 MB / 1.074 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.8387, allocations: 1.413 MB / 1.076 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.8388, allocations: 11.47 kB / 1.076 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.8388, allocations: 46.69 kB / 1.076 GB, free: 70.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 3.647e-06/0.8388, allocations: 0 / 1.076 GB, free: 70.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179): time 0.1473/0.9862, allocations: 36.3 MB / 1.111 GB, free: 61.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.9863, allocations: 74.84 kB / 1.111 GB, free: 61.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.9881, allocations: 1.409 MB / 1.113 GB, free: 60.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003007/0.9884, allocations: 53.61 kB / 1.113 GB, free: 60.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007305/0.9891, allocations: 1.541 MB / 1.114 GB, free: 59.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004971/0.9896, allocations: 0.6104 MB / 1.115 GB, free: 58.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.9898, allocations: 39.62 kB / 1.115 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9899, allocations: 388.4 kB / 1.115 GB, free: 58.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.9919, allocations: 1.777 MB / 1.117 GB, free: 57.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.9942, allocations: 2.336 MB / 1.119 GB, free: 55.74 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.9964, allocations: 2.054 MB / 1.121 GB, free: 54.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.9964, allocations: 2.969 kB / 1.121 GB, free: 54.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01551/1.012, allocations: 8.546 MB / 1.13 GB, free: 46.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/1.012, allocations: 12 kB / 1.13 GB, free: 46.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/1.012, allocations: 16 kB / 1.13 GB, free: 46.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/1.025, allocations: 4.63 MB / 1.134 GB, free: 42.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.027, allocations: 303.4 kB / 1.135 GB, free: 41.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03929/1.066, allocations: 30.83 MB / 1.165 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/1.069, allocations: 151.8 kB / 1.165 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/1.069, allocations: 91.92 kB / 1.165 GB, free: 9.93 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.002466/1.071, allocations: 1.332 MB / 1.166 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005138/1.072, allocations: 193.7 kB / 1.166 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/1.088, allocations: 8.422 MB / 1.175 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/1.088, allocations: 16 kB / 1.175 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.15e-05/1.088, allocations: 24 kB / 1.175 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.742e-05/1.088, allocations: 7.969 kB / 1.175 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02675/1.115, allocations: 12.83 MB / 1.187 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/1.115, allocations: 4 kB / 1.187 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/1.115, allocations: 167.7 kB / 1.187 GB, free: 2.738 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01471/1.13, allocations: 4.481 MB / 1.192 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003762/1.131, allocations: 36.81 kB / 1.192 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04584/1.176, allocations: 30.45 MB / 1.221 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/1.176, allocations: 14.27 kB / 1.221 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.194, allocations: 8.625 MB / 1.23 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002337/1.196, allocations: 0.6234 MB / 1.23 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003818/1.197, allocations: 36 kB / 1.231 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/1.198, allocations: 139.8 kB / 1.231 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007916/1.199, allocations: 165 kB / 1.231 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.199, allocations: 48 kB / 1.231 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001469/1.201, allocations: 0.947 MB / 1.232 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.619e-06/1.201, allocations: 0 / 1.232 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004068/1.205, allocations: 1.109 MB / 1.233 GB, free: 2.953 MB / 0.7448 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.0182/1.223, allocations: 10.99 MB / 1.244 GB, free: 7.723 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.236, allocations: 6.41 MB / 1.25 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.236, allocations: 0 / 1.25 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.009704/1.246, allocations: 4.283 MB / 1.254 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/1.249, allocations: 477.5 kB / 1.255 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05129/1.3, allocations: 36.04 MB / 1.29 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003604/1.304, allocations: 2.79 MB / 1.292 GB, free: 4.406 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00141/1.305, allocations: 388.6 kB / 1.293 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/1.307, allocations: 1.21 MB / 1.294 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of SimCode: time 1.573e-06/1.307, allocations: 0 / 1.294 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1325/1.439, allocations: 78.61 MB / 1.371 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/1.439, allocations: 238.2 kB / 1.371 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.986/5.425, allocations: 0 / 1.371 GB, free: 4.469 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)