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.299/1.299, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008733/0.0008733, allocations: 169.8 kB / 325.8 MB, free: 2.684 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.443/1.443, allocations: 205 MB / 0.576 GB, free: 20.96 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.0008432/0.0008435, allocations: 86.06 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 16.42 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2146, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007851/0.2225, allocations: 9.74 MB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004184/0.2267, allocations: 3.214 MB / 0.9089 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.2272, allocations: 27.88 kB / 0.9089 GB, free: 55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2284, allocations: 0.5306 MB / 0.9094 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000942/0.2293, allocations: 0.7119 MB / 0.9101 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.2304, allocations: 0.6831 MB / 0.9108 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002508/0.233, allocations: 4.466 MB / 0.9151 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.2356, allocations: 2.822 MB / 0.9179 GB, free: 45.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008914/0.2365, allocations: 0.9574 MB / 0.9188 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.2377, allocations: 1.456 MB / 0.9202 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.2379, allocations: 116 kB / 0.9204 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006834/0.2386, allocations: 459.2 kB / 0.9208 GB, free: 42.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005692/0.2392, allocations: 0.9197 MB / 0.9217 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.2398, allocations: 0.9328 MB / 0.9226 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.2417, allocations: 3.524 MB / 0.926 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2417, allocations: 0 / 0.926 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2417, allocations: 0 / 0.926 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.173e-05/0.2417, allocations: 3.938 kB / 0.926 GB, free: 37.36 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.002493/0.2442, allocations: 1.768 MB / 0.9278 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2443, allocations: 12.03 kB / 0.9278 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002524/0.2446, allocations: 261.2 kB / 0.928 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007709/0.2523, allocations: 1.309 MB / 0.9293 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.254, allocations: 1.263 MB / 0.9305 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.2541, allocations: 111.4 kB / 0.9307 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.2543, allocations: 144.3 kB / 0.9308 GB, free: 32.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/0.2582, allocations: 3.444 MB / 0.9342 GB, free: 28.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.2583, allocations: 3.938 kB / 0.9342 GB, free: 28.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.2584, allocations: 63.97 kB / 0.9342 GB, free: 28.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/0.2586, allocations: 203.1 kB / 0.9344 GB, free: 28.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/0.2623, allocations: 3.128 MB / 0.9375 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.2749, allocations: 13.58 MB / 0.9507 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.277, allocations: 1.735 MB / 0.9524 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.2785, allocations: 1.429 MB / 0.9538 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.564e-05/0.2786, allocations: 13 kB / 0.9538 GB, free: 7.797 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2787, allocations: 43.56 kB / 0.9539 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 4.618e-06/0.2787, allocations: 0 / 0.9539 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of matching and sorting (n=183): time 0.1254/0.404, allocations: 35.96 MB / 0.989 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.4041, allocations: 73.41 kB / 0.9891 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.4056, allocations: 1.046 MB / 0.9901 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002197/0.4058, allocations: 57.7 kB / 0.9901 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.4063, allocations: 0.7912 MB / 0.9909 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005389/0.4068, allocations: 0.62 MB / 0.9915 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.4071, allocations: 153.6 kB / 0.9917 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4072, allocations: 309.1 kB / 0.992 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002598/0.4098, allocations: 1.928 MB / 0.9938 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/0.4126, allocations: 2.289 MB / 0.9961 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005482/0.4181, allocations: 4.391 MB / 1 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4181, allocations: 4 kB / 1 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01948/0.4376, allocations: 9.028 MB / 1.009 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.4376, allocations: 8 kB / 1.009 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.4377, allocations: 8.656 kB / 1.009 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01652/0.4542, allocations: 4.973 MB / 1.014 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008682/0.4551, allocations: 195.6 kB / 1.014 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05115/0.5063, allocations: 35.15 MB / 1.049 GB, free: 5.703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.5082, allocations: 99.89 kB / 1.049 GB, free: 5.605 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.5084, allocations: 72 kB / 1.049 GB, free: 5.535 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001368/0.5098, allocations: 0.8018 MB / 1.05 GB, free: 4.723 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.5101, allocations: 146.3 kB / 1.05 GB, free: 4.578 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4456/0.9557, allocations: 8.89 MB / 1.058 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/0.9558, allocations: 16.41 kB / 1.058 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001079/0.9559, allocations: 34.19 kB / 1.058 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.059e-05/0.9559, allocations: 8.484 kB / 1.058 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02759/0.9835, allocations: 13.27 MB / 1.071 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/0.9836, allocations: 3.75 kB / 1.071 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.9841, allocations: 115.7 kB / 1.071 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01588/1, allocations: 4.758 MB / 1.076 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003976/1, allocations: 31.84 kB / 1.076 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04237/1.043, allocations: 31.44 MB / 1.107 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.043, allocations: 7.984 kB / 1.107 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/1.06, allocations: 8.408 MB / 1.115 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.062, allocations: 0.6085 MB / 1.116 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004866/1.062, allocations: 39.94 kB / 1.116 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.064, allocations: 87.89 kB / 1.116 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008575/1.064, allocations: 165.4 kB / 1.116 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/1.065, allocations: 54.55 kB / 1.116 GB, free: 109.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000888/1.066, allocations: 0.7382 MB / 1.117 GB, free: 108.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.066, allocations: 0 / 1.117 GB, free: 108.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003109/1.069, allocations: 0.9922 MB / 1.118 GB, free: 107.4 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01607/1.085, allocations: 8.999 MB / 1.126 GB, free: 98.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008376/1.093, allocations: 5.829 MB / 1.132 GB, free: 92.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.093, allocations: 0 / 1.132 GB, free: 92.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00631/1.1, allocations: 3.806 MB / 1.136 GB, free: 88.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.102, allocations: 226.1 kB / 1.136 GB, free: 88.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05158/1.153, allocations: 32.48 MB / 1.168 GB, free: 55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/1.155, allocations: 1.851 MB / 1.17 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000843/1.156, allocations: 351.4 kB / 1.17 GB, free: 52.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00064/1.156, allocations: 0.6086 MB / 1.171 GB, free: 52.15 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/1.156, allocations: 4 kB / 1.171 GB, free: 52.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6766/1.833, allocations: 70.17 MB / 1.239 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/1.833, allocations: 274 kB / 1.239 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.339/5.173, allocations: 0 / 1.239 GB, free: 13.96 MB / 0.7292 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)