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_N.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_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.874/1.874, allocations: 288.4 MB / 303.3 MB, free: 8.098 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.0009721/0.000972, allocations: 180.5 kB / 372 MB, free: 10.26 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.587/1.587, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007858/0.0007858, allocations: 90.92 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004649, allocations: 11.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01782/0.2346, allocations: 21.23 MB / 1 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0102/0.2448, allocations: 6.237 MB / 1.006 GB, free: 4 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/0.2476, allocations: 83.55 kB / 1.007 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.2497, allocations: 460.5 kB / 1.007 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.2548, allocations: 1.544 MB / 1.009 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003755/0.2586, allocations: 0.9142 MB / 1.009 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.2689, allocations: 8.166 MB / 1.017 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01293/0.2818, allocations: 7.08 MB / 1.024 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005552/0.2874, allocations: 2.117 MB / 1.026 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005945/0.2934, allocations: 3.131 MB / 1.029 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.2949, allocations: 244 kB / 1.03 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.2979, allocations: 0.5775 MB / 1.03 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003852/0.3018, allocations: 2.097 MB / 1.032 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002414/0.3042, allocations: 0.8394 MB / 1.033 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009879/0.3141, allocations: 7.005 MB / 1.04 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3142, allocations: 4 kB / 1.04 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.39e-06/0.3142, allocations: 0 / 1.04 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003565/0.3145, allocations: 3.938 kB / 1.04 GB, free: 13.61 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01576/0.3303, allocations: 3.609 MB / 1.043 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.106e-05/0.3304, allocations: 12.03 kB / 1.043 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003118/0.3336, allocations: 0.5712 MB / 1.044 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.3474, allocations: 1.688 MB / 1.046 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009351/0.3569, allocations: 2.501 MB / 1.048 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005185/0.3574, allocations: 283.3 kB / 1.048 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/0.3597, allocations: 359.8 kB / 1.049 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02555/0.3853, allocations: 7.455 MB / 1.056 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002742/0.3856, allocations: 11.94 kB / 1.056 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001947/0.3876, allocations: 159.9 kB / 1.056 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001218/0.3888, allocations: 487.3 kB / 1.057 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01989/0.4088, allocations: 5.685 MB / 1.062 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5643/0.9731, allocations: 31.64 MB / 1.093 GB, free: 57.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/0.9775, allocations: 2.082 MB / 1.095 GB, free: 57.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003865/0.9814, allocations: 2.171 MB / 1.097 GB, free: 56.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.9816, allocations: 16.27 kB / 1.097 GB, free: 56.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.9817, allocations: 53.33 kB / 1.097 GB, free: 56.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 4.178e-06/0.9817, allocations: 0 / 1.097 GB, free: 56.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.2724/1.254, allocations: 75.25 MB / 1.171 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/1.254, allocations: 77.41 kB / 1.171 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/1.256, allocations: 1.65 MB / 1.172 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004956/1.257, allocations: 65.7 kB / 1.173 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007774/1.257, allocations: 1.742 MB / 1.174 GB, free: 100 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009236/1.258, allocations: 0.8581 MB / 1.175 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/1.259, allocations: 48 kB / 1.175 GB, free: 15.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002041/1.259, allocations: 415 kB / 1.176 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003766/1.263, allocations: 2.722 MB / 1.178 GB, free: 12.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004319/1.267, allocations: 3.324 MB / 1.181 GB, free: 8.488 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/1.271, allocations: 3.055 MB / 1.184 GB, free: 5.434 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.271, allocations: 4 kB / 1.184 GB, free: 5.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03353/1.305, allocations: 14.64 MB / 1.199 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/1.305, allocations: 12 kB / 1.199 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/1.305, allocations: 20 kB / 1.199 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02952/1.334, allocations: 9.236 MB / 1.208 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.336, allocations: 299.5 kB / 1.208 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07294/1.409, allocations: 47.07 MB / 1.254 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/1.412, allocations: 223.7 kB / 1.254 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003963/1.412, allocations: 99.98 kB / 1.254 GB, free: 12.93 MB / 0.7761 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 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003261/1.416, allocations: 1.584 MB / 1.256 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006603/1.416, allocations: 241.1 kB / 1.256 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03236/1.449, allocations: 14.73 MB / 1.27 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.518e-05/1.449, allocations: 24 kB / 1.271 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001812/1.449, allocations: 44 kB / 1.271 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.821e-05/1.449, allocations: 11.95 kB / 1.271 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04402/1.493, allocations: 20.49 MB / 1.291 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.899e-05/1.493, allocations: 11.47 kB / 1.291 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008747/1.494, allocations: 163.7 kB / 1.291 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02911/1.523, allocations: 8.999 MB / 1.3 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000646/1.524, allocations: 48 kB / 1.3 GB, free: 14.37 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07413/1.598, allocations: 46.69 MB / 1.345 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.598, allocations: 8 kB / 1.345 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03294/1.631, allocations: 14.34 MB / 1.359 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002368/1.633, allocations: 0.8438 MB / 1.36 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000705/1.634, allocations: 51.98 kB / 1.36 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.636, allocations: 207.7 kB / 1.36 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/1.637, allocations: 241.5 kB / 1.36 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/1.638, allocations: 64.44 kB / 1.361 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001646/1.639, allocations: 1.11 MB / 1.362 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.91e-07/1.639, allocations: 0 / 1.362 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005671/1.645, allocations: 1.598 MB / 1.363 GB, free: 12.22 MB / 0.8855 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 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03263/1.678, allocations: 14.94 MB / 1.378 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0227/1.7, allocations: 10.34 MB / 1.388 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.7, allocations: 0 / 1.388 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01817/1.719, allocations: 7.146 MB / 1.395 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/1.722, allocations: 0.5152 MB / 1.395 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5163/2.239, allocations: 35.89 MB / 1.43 GB, free: 308.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00747/2.246, allocations: 3.225 MB / 1.434 GB, free: 308 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001925/2.248, allocations: 389.5 kB / 1.434 GB, free: 308 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/2.25, allocations: 1.482 MB / 1.435 GB, free: 308 MB / 0.9323 GB Notification: Performance of SimCode: time 1.192e-06/2.25, allocations: 0 / 1.435 GB, free: 308 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1756/2.426, allocations: 112.3 MB / 1.545 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/2.426, allocations: 246.7 kB / 1.545 GB, free: 232 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.707/7.133, allocations: 3.234 kB / 1.545 GB, free: 232 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)