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.ACLine_RL_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.ACLine_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.398/1.398, allocations: 252 MB / 267 MB, free: 10.97 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.001138/0.001138, allocations: 174.2 kB / 326.6 MB, free: 2.223 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.969/1.969, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0007928/0.000793, allocations: 90.28 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 9.438 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2545, allocations: 106.4 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01723/0.2718, allocations: 18.34 MB / 0.9182 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.2821, allocations: 6.186 MB / 0.9243 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.2846, allocations: 79.56 kB / 0.9243 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.2863, allocations: 392.9 kB / 0.9247 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.2901, allocations: 0.9637 MB / 0.9257 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.2936, allocations: 0.7653 MB / 0.9264 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005939/0.2996, allocations: 5.469 MB / 0.9318 GB, free: 31.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01054/0.3101, allocations: 6.382 MB / 0.938 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.314, allocations: 1.506 MB / 0.9395 GB, free: 23.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.3177, allocations: 1.978 MB / 0.9414 GB, free: 21.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.3187, allocations: 176 kB / 0.9416 GB, free: 21.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.3212, allocations: 487.4 kB / 0.942 GB, free: 20.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002037/0.3232, allocations: 1.356 MB / 0.9433 GB, free: 19.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.3248, allocations: 0.6369 MB / 0.944 GB, free: 18.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005134/0.33, allocations: 5.373 MB / 0.9492 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.33, allocations: 0 / 0.9492 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.035e-06/0.33, allocations: 0 / 0.9492 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001532/0.3302, allocations: 4 kB / 0.9492 GB, free: 13.55 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00555/0.3357, allocations: 2.851 MB / 0.952 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3358, allocations: 12.03 kB / 0.952 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007168/0.3365, allocations: 450.4 kB / 0.9524 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/0.3399, allocations: 0.6401 MB / 0.9531 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/0.3435, allocations: 1.892 MB / 0.9549 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.3437, allocations: 218 kB / 0.9551 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.3441, allocations: 299.9 kB / 0.9554 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008514/0.3526, allocations: 4.863 MB / 0.9602 GB, free: 2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.728e-05/0.3528, allocations: 19.77 kB / 0.9602 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.3531, allocations: 128 kB / 0.9603 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004323/0.3535, allocations: 229.7 kB / 0.9605 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006748/0.3603, allocations: 3.731 MB / 0.9642 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02584/0.3862, allocations: 21.6 MB / 0.9853 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.3883, allocations: 1.303 MB / 0.9865 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.3898, allocations: 1.034 MB / 0.9875 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.534e-05/0.3899, allocations: 13 kB / 0.9876 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.39, allocations: 47.5 kB / 0.9876 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 4.88e-06/0.39, allocations: 7.984 kB / 0.9876 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=138): time 0.02503/0.415, allocations: 8.669 MB / 0.9961 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.4151, allocations: 72.72 kB / 0.9961 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.4168, allocations: 1.115 MB / 0.9972 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.417, allocations: 49.7 kB / 0.9973 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009311/0.418, allocations: 1.304 MB / 0.9985 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/0.4184, allocations: 473.1 kB / 0.999 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.4185, allocations: 36 kB / 0.999 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4187, allocations: 369.9 kB / 0.9994 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.42, allocations: 0.9095 MB / 1 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.4216, allocations: 1.322 MB / 1.002 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.4232, allocations: 1.135 MB / 1.003 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.4232, allocations: 4 kB / 1.003 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00645/0.4297, allocations: 3.445 MB / 1.006 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.4297, allocations: 12 kB / 1.006 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.4298, allocations: 12 kB / 1.006 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003921/0.4337, allocations: 1.191 MB / 1.007 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.435, allocations: 255.6 kB / 1.007 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01713/0.4521, allocations: 12.7 MB / 1.02 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.454, allocations: 87.98 kB / 1.02 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.4542, allocations: 63.98 kB / 1.02 GB, free: 1.957 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002506/0.4567, allocations: 1.114 MB / 1.021 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.4571, allocations: 166 kB / 1.021 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005824/0.4629, allocations: 3.162 MB / 1.024 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.4629, allocations: 12 kB / 1.024 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/0.463, allocations: 12 kB / 1.024 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.463, allocations: 7.969 kB / 1.024 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.4744, allocations: 6.241 MB / 1.03 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.4745, allocations: 4 kB / 1.03 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/0.4751, allocations: 151.8 kB / 1.031 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/0.478, allocations: 1.063 MB / 1.032 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.27e-05/0.4781, allocations: 31.95 kB / 1.032 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/0.4937, allocations: 12.43 MB / 1.044 GB, free: 8.996 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.4937, allocations: 7.938 kB / 1.044 GB, free: 8.988 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005463/0.4992, allocations: 3.139 MB / 1.047 GB, free: 5.766 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008792/0.5001, allocations: 431 kB / 1.047 GB, free: 5.324 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.5003, allocations: 31.98 kB / 1.047 GB, free: 5.293 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/0.501, allocations: 79.91 kB / 1.047 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/0.5014, allocations: 128.7 kB / 1.048 GB, free: 5.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.613e-05/0.5015, allocations: 36 kB / 1.048 GB, free: 5.051 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001041/0.5025, allocations: 0.7554 MB / 1.048 GB, free: 4.293 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5025, allocations: 0 / 1.048 GB, free: 4.293 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002055/0.5046, allocations: 0.6602 MB / 1.049 GB, free: 3.633 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5497/1.054, allocations: 3.724 MB / 1.053 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00551/1.06, allocations: 3.119 MB / 1.056 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.06, allocations: 2.875 kB / 1.056 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002935/1.063, allocations: 1.956 MB / 1.058 GB, free: 136.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.065, allocations: 472.3 kB / 1.058 GB, free: 136.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/1.099, allocations: 15.11 MB / 1.073 GB, free: 131.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003835/1.102, allocations: 2.34 MB / 1.075 GB, free: 130.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001568/1.104, allocations: 349.2 kB / 1.075 GB, free: 130.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.105, allocations: 1.007 MB / 1.076 GB, free: 130.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/1.105, allocations: 1.094 kB / 1.076 GB, free: 130.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08061/1.186, allocations: 49.37 MB / 1.125 GB, free: 93.29 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/1.186, allocations: 246.1 kB / 1.125 GB, free: 93.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/4.351, allocations: 4 kB / 1.125 GB, free: 93.04 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)