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_RLC_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_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.576/1.576, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.00108/0.00108, allocations: 176.9 kB / 361.4 MB, free: 6.832 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.651/1.651, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008998/0.0009, allocations: 92.5 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.614e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6712/0.6712, allocations: 115.3 MB / 0.9645 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2673/0.9385, allocations: 167.5 MB / 1.128 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.9388, allocations: 92.59 kB / 1.128 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.151/1.09, allocations: 62.24 MB / 1.189 GB, free: 5.617 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.924e-06/1.09, allocations: 0 / 1.189 GB, free: 5.617 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.673e-05/1.09, allocations: 36 kB / 1.189 GB, free: 5.582 MB / 0.7917 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.003665/1.094, allocations: 1.618 MB / 1.19 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.094, allocations: 12.03 kB / 1.19 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/1.096, allocations: 486.2 kB / 1.191 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/1.099, allocations: 1.286 MB / 1.192 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/1.099, allocations: 48 kB / 1.192 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/1.099, allocations: 84 kB / 1.192 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00358/1.103, allocations: 2.271 MB / 1.195 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004814/1.108, allocations: 2.884 MB / 1.197 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/1.108, allocations: 0 / 1.197 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/1.108, allocations: 7.984 kB / 1.197 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000688/1.109, allocations: 179 kB / 1.198 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02366/1.132, allocations: 14.5 MB / 1.212 GB, free: 13.16 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/1.135, allocations: 1.761 MB / 1.213 GB, free: 11.38 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/1.137, allocations: 1.489 MB / 1.215 GB, free: 9.891 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/1.137, allocations: 17.3 kB / 1.215 GB, free: 9.875 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/1.137, allocations: 51.81 kB / 1.215 GB, free: 9.816 MB / 0.823 GB Notification: Performance of pre-optimization done (n=104): time 3.717e-06/1.137, allocations: 1.031 kB / 1.215 GB, free: 9.816 MB / 0.823 GB Notification: Performance of matching and sorting (n=183): time 0.04089/1.178, allocations: 14.28 MB / 1.229 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.178, allocations: 73.41 kB / 1.229 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/1.18, allocations: 0.9848 MB / 1.23 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004499/1.18, allocations: 25.7 kB / 1.23 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005723/1.181, allocations: 0.7797 MB / 1.231 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007136/1.182, allocations: 0.5965 MB / 1.231 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/1.182, allocations: 0 / 1.231 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002071/1.182, allocations: 385.9 kB / 1.232 GB, free: 8.633 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/1.185, allocations: 2.05 MB / 1.234 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/1.188, allocations: 2.372 MB / 1.236 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005167/1.193, allocations: 2.762 MB / 1.239 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/1.193, allocations: 4 kB / 1.239 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01723/1.21, allocations: 8.488 MB / 1.247 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/1.21, allocations: 8.562 kB / 1.247 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/1.21, allocations: 12 kB / 1.247 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01401/1.224, allocations: 4.942 MB / 1.252 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/1.225, allocations: 243.6 kB / 1.252 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6074/1.833, allocations: 22.94 MB / 1.274 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/1.837, allocations: 91.06 kB / 1.275 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/1.838, allocations: 266.2 kB / 1.275 GB, free: 214.8 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.0008222/1.839, allocations: 133.8 kB / 1.275 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02248/1.861, allocations: 7.629 MB / 1.282 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/1.862, allocations: 135.1 kB / 1.283 GB, free: 212.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/1.882, allocations: 8.043 MB / 1.29 GB, free: 210 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-05/1.882, allocations: 18.16 kB / 1.29 GB, free: 210 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.16e-05/1.882, allocations: 14.75 kB / 1.29 GB, free: 210 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.414e-05/1.882, allocations: 9.375 kB / 1.29 GB, free: 210 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02682/1.909, allocations: 12.41 MB / 1.303 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/1.909, allocations: 9.125 kB / 1.303 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/1.909, allocations: 117.9 kB / 1.303 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01433/1.924, allocations: 4.708 MB / 1.307 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004407/1.924, allocations: 60.11 kB / 1.307 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02644/1.95, allocations: 19.26 MB / 1.326 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/1.951, allocations: 7.719 kB / 1.326 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.965, allocations: 7.669 MB / 1.334 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.966, allocations: 0.8158 MB / 1.334 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/1.967, allocations: 8.641 kB / 1.334 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.968, allocations: 66.23 kB / 1.334 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005271/1.969, allocations: 196.1 kB / 1.335 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002817/1.969, allocations: 174.8 kB / 1.335 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009174/1.97, allocations: 0.7627 MB / 1.336 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.97, allocations: 0 / 1.336 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002985/1.973, allocations: 0.6905 MB / 1.336 GB, free: 192.8 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.01386/1.987, allocations: 9.405 MB / 1.345 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008593/1.995, allocations: 5.676 MB / 1.351 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.995, allocations: 2.719 kB / 1.351 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006446/2.002, allocations: 3.368 MB / 1.354 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/2.003, allocations: 167.4 kB / 1.354 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008812/2.012, allocations: 4.723 MB / 1.359 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/2.014, allocations: 1.827 MB / 1.361 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001302/2.015, allocations: 413.2 kB / 1.361 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000969/2.016, allocations: 0.6661 MB / 1.362 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/2.016, allocations: 4 kB / 1.362 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/2.118, allocations: 75.54 MB / 1.436 GB, free: 107.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/2.119, allocations: 180.5 kB / 1.436 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.429/5.548, allocations: 0 / 1.436 GB, free: 107.3 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)