Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001402/0.001402, allocations: 180.9 kB / 366.7 MB, free: 1.645 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.821/1.821, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008192/0.0008192, allocations: 99.2 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.93e-05/1.933e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.6302, allocations: 116.3 MB / 0.9734 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2125/0.8428, allocations: 168.5 MB / 1.138 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.8431, allocations: 91.94 kB / 1.138 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1781/1.021, allocations: 71.97 MB / 1.208 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.777e-06/1.021, allocations: 4 kB / 1.208 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001068/1.021, allocations: 36 kB / 1.208 GB, free: 4.957 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003216/1.025, allocations: 1.62 MB / 1.21 GB, free: 3.285 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.025, allocations: 12.03 kB / 1.21 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/1.027, allocations: 493.2 kB / 1.21 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/1.029, allocations: 1.29 MB / 1.212 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/1.029, allocations: 48 kB / 1.212 GB, free: 1.406 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/1.03, allocations: 84 kB / 1.212 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003341/1.033, allocations: 2.275 MB / 1.214 GB, free: 15.05 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004097/1.037, allocations: 2.878 MB / 1.217 GB, free: 12.05 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/1.037, allocations: 3.938 kB / 1.217 GB, free: 12.04 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/1.037, allocations: 7.984 kB / 1.217 GB, free: 12.04 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006489/1.038, allocations: 183 kB / 1.217 GB, free: 11.86 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02074/1.059, allocations: 14.49 MB / 1.231 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/1.061, allocations: 1.757 MB / 1.233 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/1.063, allocations: 1.497 MB / 1.234 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/1.063, allocations: 17.28 kB / 1.234 GB, free: 9.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.063, allocations: 51.83 kB / 1.234 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 2.856e-06/1.063, allocations: 0 / 1.234 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of matching and sorting (n=183): time 0.04093/1.104, allocations: 14.26 MB / 1.248 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.104, allocations: 69.41 kB / 1.248 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/1.106, allocations: 0.9771 MB / 1.249 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005567/1.106, allocations: 29.69 kB / 1.249 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/1.107, allocations: 0.7834 MB / 1.25 GB, free: 9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006928/1.108, allocations: 0.6004 MB / 1.251 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/1.108, allocations: 0 / 1.251 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.108, allocations: 385.9 kB / 1.251 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/1.111, allocations: 2.05 MB / 1.253 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/1.114, allocations: 2.369 MB / 1.255 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005478/1.119, allocations: 2.766 MB / 1.258 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.119, allocations: 7.938 kB / 1.258 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.5577/1.677, allocations: 8.469 MB / 1.266 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/1.677, allocations: 13.39 kB / 1.266 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/1.677, allocations: 8.969 kB / 1.266 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01645/1.694, allocations: 4.946 MB / 1.271 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.695, allocations: 252.3 kB / 1.271 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0412/1.736, allocations: 22.96 MB / 1.294 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/1.739, allocations: 84.03 kB / 1.294 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009397/1.74, allocations: 263.9 kB / 1.294 GB, free: 206.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.001116/1.741, allocations: 132.7 kB / 1.294 GB, free: 206.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01932/1.76, allocations: 7.628 MB / 1.302 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008546/1.761, allocations: 137.8 kB / 1.302 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01806/1.779, allocations: 8.03 MB / 1.31 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/1.779, allocations: 20.22 kB / 1.31 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-05/1.78, allocations: 20.23 kB / 1.31 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.343e-05/1.78, allocations: 11.3 kB / 1.31 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.802, allocations: 12.42 MB / 1.322 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.802, allocations: 3.625 kB / 1.322 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/1.802, allocations: 126.6 kB / 1.322 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01353/1.816, allocations: 4.702 MB / 1.327 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004577/1.816, allocations: 62.36 kB / 1.327 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02689/1.843, allocations: 19.26 MB / 1.346 GB, free: 188 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.843, allocations: 10.77 kB / 1.346 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.858, allocations: 7.661 MB / 1.353 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.859, allocations: 0.8236 MB / 1.354 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005849/1.86, allocations: 7.375 kB / 1.354 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.862, allocations: 57.64 kB / 1.354 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005673/1.862, allocations: 196.8 kB / 1.354 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003444/1.863, allocations: 176.3 kB / 1.354 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001019/1.864, allocations: 0.7634 MB / 1.355 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/1.864, allocations: 0 / 1.355 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003057/1.867, allocations: 0.6949 MB / 1.356 GB, free: 184 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.01421/1.881, allocations: 9.423 MB / 1.365 GB, free: 176 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008476/1.889, allocations: 5.662 MB / 1.37 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.889, allocations: 4 kB / 1.37 GB, free: 171 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006188/1.896, allocations: 3.37 MB / 1.374 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/1.897, allocations: 168.9 kB / 1.374 GB, free: 168 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008386/1.905, allocations: 4.726 MB / 1.378 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/1.907, allocations: 1.834 MB / 1.38 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001158/1.908, allocations: 412.3 kB / 1.381 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009071/1.909, allocations: 0.671 MB / 1.381 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of SimCode: time 8.72e-07/1.909, allocations: 3.828 kB / 1.381 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/2.012, allocations: 75.55 MB / 1.455 GB, free: 85.99 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/2.013, allocations: 174.2 kB / 1.455 GB, free: 85.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.096/5.108, allocations: 2.25 kB / 1.455 GB, free: 85.8 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)