Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001149, allocations: 187 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000959/0.0009589, allocations: 101.9 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003237, allocations: 11.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2128, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008666/0.2215, allocations: 8.775 MB / 0.9087 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004486/0.2261, allocations: 3.063 MB / 0.9117 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006279/0.2268, allocations: 31.75 kB / 0.9118 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.2271, allocations: 178.9 kB / 0.9119 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009744/0.2281, allocations: 498.5 kB / 0.9124 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.2293, allocations: 0.5207 MB / 0.9129 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001691/0.231, allocations: 1.442 MB / 0.9143 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003328/0.2343, allocations: 2.714 MB / 0.917 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.2355, allocations: 0.8061 MB / 0.9178 GB, free: 45.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.2367, allocations: 1.001 MB / 0.9187 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.2369, allocations: 116 kB / 0.9188 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.2373, allocations: 227.8 kB / 0.9191 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005372/0.2379, allocations: 0.8381 MB / 0.9199 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.2382, allocations: 380.8 kB / 0.9202 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.2399, allocations: 2.961 MB / 0.9231 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2399, allocations: 0 / 0.9231 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2399, allocations: 0 / 0.9231 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.124e-05/0.24, allocations: 0 / 0.9231 GB, free: 40.21 MB / 0.6042 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.002801/0.2428, allocations: 1.779 MB / 0.9249 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2428, allocations: 8.031 kB / 0.9249 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002835/0.2431, allocations: 257.1 kB / 0.9251 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008616/0.2517, allocations: 1.429 MB / 0.9265 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/0.2546, allocations: 1.227 MB / 0.9277 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.2547, allocations: 115 kB / 0.9278 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000404/0.2551, allocations: 144 kB / 0.928 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004882/0.26, allocations: 3.409 MB / 0.9313 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/0.2601, allocations: 11.94 kB / 0.9313 GB, free: 31.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.2603, allocations: 63.92 kB / 0.9314 GB, free: 31.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002117/0.2605, allocations: 207.1 kB / 0.9316 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/0.2648, allocations: 3.112 MB / 0.9346 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.2802, allocations: 13.58 MB / 0.9479 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.2824, allocations: 1.713 MB / 0.9495 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.412e-05/0.2825, allocations: 20.98 kB / 0.9496 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.2825, allocations: 43.56 kB / 0.9496 GB, free: 12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 3.737e-06/0.2825, allocations: 0 / 0.9496 GB, free: 12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=183): time 0.1459/0.4285, allocations: 35.94 MB / 0.9847 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.4286, allocations: 69.41 kB / 0.9848 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.4303, allocations: 1.042 MB / 0.9858 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003883/0.4307, allocations: 57.7 kB / 0.9858 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006297/0.4314, allocations: 0.7873 MB / 0.9866 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009056/0.4323, allocations: 0.62 MB / 0.9872 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.4326, allocations: 39.94 kB / 0.9873 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.4328, allocations: 385.9 kB / 0.9876 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/0.4357, allocations: 1.928 MB / 0.9895 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/0.439, allocations: 2.277 MB / 0.9917 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/0.4423, allocations: 2.211 MB / 0.9939 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.4423, allocations: 11.94 kB / 0.9939 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02078/0.4631, allocations: 8.998 MB / 1.003 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.4632, allocations: 14.59 kB / 1.003 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.4632, allocations: 8 kB / 1.003 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/0.4805, allocations: 4.973 MB / 1.008 GB, free: 256 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.4816, allocations: 191.7 kB / 1.008 GB, free: 64 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05944/0.541, allocations: 36.85 MB / 1.044 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.5433, allocations: 99.89 kB / 1.044 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004715/0.5438, allocations: 68 kB / 1.044 GB, free: 10.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00206/0.5459, allocations: 0.8101 MB / 1.045 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005471/0.5464, allocations: 142.3 kB / 1.045 GB, free: 9.539 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02094/0.5674, allocations: 8.871 MB / 1.053 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.5675, allocations: 16 kB / 1.053 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.081e-05/0.5676, allocations: 32 kB / 1.054 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.708e-05/0.5676, allocations: 11.92 kB / 1.054 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4144/0.982, allocations: 13.12 MB / 1.066 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/0.9821, allocations: 4.281 kB / 1.066 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.9826, allocations: 123.8 kB / 1.066 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01585/0.9985, allocations: 4.749 MB / 1.071 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003071/0.9988, allocations: 33.62 kB / 1.071 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.046/1.045, allocations: 33 MB / 1.103 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.045, allocations: 8.438 kB / 1.103 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/1.062, allocations: 8.553 MB / 1.112 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/1.064, allocations: 0.6184 MB / 1.112 GB, free: 111.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005861/1.065, allocations: 36 kB / 1.112 GB, free: 111.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/1.066, allocations: 88.39 kB / 1.112 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009001/1.067, allocations: 168.3 kB / 1.113 GB, free: 110.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/1.068, allocations: 48 kB / 1.113 GB, free: 110.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001056/1.069, allocations: 0.7265 MB / 1.113 GB, free: 110 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.5e-07/1.069, allocations: 4 kB / 1.113 GB, free: 110 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003534/1.072, allocations: 0.9922 MB / 1.114 GB, free: 109 MB / 0.698 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 () * Number of clocked 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: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01894/1.091, allocations: 10.18 MB / 1.124 GB, free: 98.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00979/1.101, allocations: 5.842 MB / 1.13 GB, free: 92.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.101, allocations: 0 / 1.13 GB, free: 92.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007325/1.108, allocations: 3.764 MB / 1.134 GB, free: 89.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.11, allocations: 205.3 kB / 1.134 GB, free: 88.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0385/1.149, allocations: 26.67 MB / 1.16 GB, free: 61.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/1.151, allocations: 1.891 MB / 1.162 GB, free: 59.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009635/1.152, allocations: 349.9 kB / 1.162 GB, free: 59.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000728/1.152, allocations: 0.6086 MB / 1.163 GB, free: 58.76 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/1.152, allocations: 0 / 1.163 GB, free: 58.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09792/1.25, allocations: 69.73 MB / 1.231 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/1.251, allocations: 245.4 kB / 1.231 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.331/4.582, allocations: 0 / 1.231 GB, free: 5.098 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)