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.408/1.408, allocations: 251.9 MB / 266.9 MB, free: 11 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.001181/0.001181, allocations: 195.7 kB / 326.5 MB, free: 2.203 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.862/1.862, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.001371/0.001372, allocations: 100.2 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003719, allocations: 10.09 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2386, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01479/0.2535, allocations: 17.64 MB / 0.9174 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009002/0.2625, allocations: 6.226 MB / 0.9235 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.2643, allocations: 67.56 kB / 0.9235 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000937/0.2653, allocations: 393.5 kB / 0.9239 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.269, allocations: 0.8684 MB / 0.9248 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.2719, allocations: 0.7866 MB / 0.9255 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004729/0.2766, allocations: 2.311 MB / 0.9278 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/0.2889, allocations: 6.376 MB / 0.934 GB, free: 29.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/0.2921, allocations: 1.316 MB / 0.9353 GB, free: 28.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/0.2951, allocations: 1.363 MB / 0.9366 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005459/0.2956, allocations: 183.9 kB / 0.9368 GB, free: 26.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.2974, allocations: 407.6 kB / 0.9372 GB, free: 26.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009149/0.2983, allocations: 1.243 MB / 0.9384 GB, free: 24.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000678/0.299, allocations: 0.6369 MB / 0.939 GB, free: 24.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003613/0.3026, allocations: 5.299 MB / 0.9442 GB, free: 18.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3027, allocations: 0 / 0.9442 GB, free: 18.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3027, allocations: 0 / 0.9442 GB, free: 18.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000127/0.3028, allocations: 0 / 0.9442 GB, free: 18.91 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.004806/0.3076, allocations: 2.835 MB / 0.947 GB, free: 16.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3077, allocations: 12.03 kB / 0.947 GB, free: 16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004997/0.3082, allocations: 446.4 kB / 0.9474 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.3108, allocations: 0.6323 MB / 0.948 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/0.3141, allocations: 1.881 MB / 0.9499 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.3143, allocations: 225.9 kB / 0.9501 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003467/0.3146, allocations: 291.9 kB / 0.9504 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006355/0.321, allocations: 4.843 MB / 0.9551 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.55e-05/0.3211, allocations: 15.81 kB / 0.9551 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.3213, allocations: 136 kB / 0.9552 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003933/0.3217, allocations: 225.7 kB / 0.9554 GB, free: 7.051 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005409/0.3272, allocations: 3.731 MB / 0.9591 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/0.3502, allocations: 21.62 MB / 0.9802 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.352, allocations: 1.3 MB / 0.9815 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.178e-05/0.3521, allocations: 12.98 kB / 0.9815 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.3522, allocations: 43.56 kB / 0.9815 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 4.128e-06/0.3522, allocations: 0 / 0.9815 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=138): time 0.02422/0.3764, allocations: 8.661 MB / 0.99 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.3765, allocations: 64.72 kB / 0.99 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.3783, allocations: 1.122 MB / 0.9911 GB, free: 396 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.3784, allocations: 49.7 kB / 0.9912 GB, free: 340 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009766/0.3794, allocations: 1.3 MB / 0.9925 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.3798, allocations: 481.1 kB / 0.9929 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-05/0.3799, allocations: 32 kB / 0.9929 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3801, allocations: 369.9 kB / 0.9933 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.3814, allocations: 0.9096 MB / 0.9942 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.383, allocations: 1.315 MB / 0.9955 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.3847, allocations: 1.131 MB / 0.9966 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3848, allocations: 4 kB / 0.9966 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00603/0.3908, allocations: 3.446 MB / 0.9999 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.3908, allocations: 8 kB / 1 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/0.3909, allocations: 12 kB / 1 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003169/0.394, allocations: 1.194 MB / 1.001 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008886/0.3949, allocations: 251.6 kB / 1.001 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01751/0.4125, allocations: 13.18 MB / 1.014 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.4143, allocations: 87.97 kB / 1.014 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.4146, allocations: 75.92 kB / 1.014 GB, free: 7.941 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.002865/0.4175, allocations: 1.11 MB / 1.015 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/0.418, allocations: 162 kB / 1.016 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006088/0.4241, allocations: 3.161 MB / 1.019 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.4241, allocations: 12 kB / 1.019 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/0.4242, allocations: 12.38 kB / 1.019 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.4242, allocations: 11.97 kB / 1.019 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.4351, allocations: 6.237 MB / 1.025 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.4352, allocations: 8.562 kB / 1.025 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.4357, allocations: 143.8 kB / 1.025 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002856/0.4386, allocations: 1.074 MB / 1.026 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.4387, allocations: 35.95 kB / 1.026 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/0.4558, allocations: 12.9 MB / 1.039 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.4558, allocations: 8.375 kB / 1.039 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005795/0.4616, allocations: 3.385 MB / 1.042 GB, free: 10.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.4628, allocations: 435 kB / 1.042 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.463, allocations: 31.98 kB / 1.042 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/0.4638, allocations: 83.89 kB / 1.043 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/0.4642, allocations: 124.7 kB / 1.043 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.692e-05/0.4643, allocations: 40 kB / 1.043 GB, free: 10.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001142/0.4654, allocations: 0.7554 MB / 1.043 GB, free: 9.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4654, allocations: 0 / 1.043 GB, free: 9.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002266/0.4677, allocations: 0.6601 MB / 1.044 GB, free: 8.75 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.006062/0.4738, allocations: 5.182 MB / 1.049 GB, free: 3.402 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005035/0.4788, allocations: 3.111 MB / 1.052 GB, free: 264 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.4789, allocations: 4 kB / 1.052 GB, free: 260 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.4261/0.905, allocations: 1.958 MB / 1.054 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.9072, allocations: 445 kB / 1.054 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03285/0.9401, allocations: 23.18 MB / 1.077 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003536/0.9437, allocations: 2.394 MB / 1.079 GB, free: 126.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001686/0.9454, allocations: 354.5 kB / 1.08 GB, free: 126.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/0.947, allocations: 1.008 MB / 1.081 GB, free: 126.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.744e-06/0.9471, allocations: 0 / 1.081 GB, free: 126.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07651/1.024, allocations: 49.34 MB / 1.129 GB, free: 89.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/1.024, allocations: 242.9 kB / 1.129 GB, free: 88.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/3.978, allocations: 9.172 kB / 1.129 GB, free: 88.95 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)