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_R_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_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.377/1.377, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001091/0.001091, allocations: 182.8 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.001191/0.001191, allocations: 95.48 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 9.844 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 106.4 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02618/0.2555, allocations: 33.03 MB / 0.9324 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01563/0.2712, allocations: 10.71 MB / 0.9429 GB, free: 19.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003856/0.2751, allocations: 127.2 kB / 0.943 GB, free: 19.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.2771, allocations: 0.757 MB / 0.9437 GB, free: 19.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007484/0.2846, allocations: 1.706 MB / 0.9454 GB, free: 17.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005511/0.2901, allocations: 1.304 MB / 0.9467 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007923/0.2981, allocations: 4.443 MB / 0.951 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01734/0.3154, allocations: 12.64 MB / 0.9634 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005601/0.3211, allocations: 2.491 MB / 0.9658 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005971/0.3271, allocations: 2.647 MB / 0.9684 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001844/0.329, allocations: 344 kB / 0.9687 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.333, allocations: 0.5972 MB / 0.9693 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.005723/0.3388, allocations: 2.311 MB / 0.9716 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.004181/0.343, allocations: 1.194 MB / 0.9727 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.02224/0.3653, allocations: 10.04 MB / 0.9825 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3653, allocations: 0 / 0.9825 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3653, allocations: 0 / 0.9825 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005069/0.3659, allocations: 3.938 kB / 0.9825 GB, free: 11.2 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02351/0.3894, allocations: 5.109 MB / 0.9875 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.427e-05/0.3895, allocations: 12.03 kB / 0.9875 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004635/0.3941, allocations: 0.8292 MB / 0.9883 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.4042, allocations: 1.008 MB / 0.9893 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/0.4178, allocations: 3.345 MB / 0.9926 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000656/0.4185, allocations: 423.4 kB / 0.993 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002671/0.4212, allocations: 0.5467 MB / 0.9935 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03646/0.4577, allocations: 9.283 MB / 1.003 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002732/0.4581, allocations: 19.81 kB / 1.003 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00254/0.4606, allocations: 248 kB / 1.003 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001147/0.4618, allocations: 422.9 kB / 1.003 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02642/0.4882, allocations: 7.081 MB / 1.01 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0728/0.5611, allocations: 41.36 MB / 1.051 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4944/1.056, allocations: 3.096 MB / 1.054 GB, free: 134.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/1.056, allocations: 21.69 kB / 1.054 GB, free: 134.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/1.056, allocations: 61.75 kB / 1.054 GB, free: 134.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 4.599e-06/1.056, allocations: 0 / 1.054 GB, free: 134.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.02512/1.081, allocations: 10.44 MB / 1.064 GB, free: 133.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/1.081, allocations: 79.06 kB / 1.064 GB, free: 133.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/1.084, allocations: 1.988 MB / 1.066 GB, free: 133 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002723/1.085, allocations: 62.14 kB / 1.066 GB, free: 132.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001705/1.086, allocations: 2.4 MB / 1.068 GB, free: 131.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006578/1.087, allocations: 0.7277 MB / 1.069 GB, free: 131.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/1.087, allocations: 54.5 kB / 1.069 GB, free: 131.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.087, allocations: 415.5 kB / 1.069 GB, free: 130.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/1.089, allocations: 1.358 MB / 1.071 GB, free: 130.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/1.092, allocations: 2.088 MB / 1.073 GB, free: 129.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/1.094, allocations: 1.719 MB / 1.074 GB, free: 129 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/1.094, allocations: 8.766 kB / 1.074 GB, free: 129 MB / 0.698 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007272/1.101, allocations: 5.047 MB / 1.079 GB, free: 127 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.101, allocations: 15.81 kB / 1.079 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/1.101, allocations: 27.64 kB / 1.079 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/1.104, allocations: 1.556 MB / 1.081 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.106, allocations: 457.9 kB / 1.081 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/1.125, allocations: 17.71 MB / 1.099 GB, free: 114.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/1.128, allocations: 147.7 kB / 1.099 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/1.128, allocations: 114.1 kB / 1.099 GB, free: 114.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003744/1.132, allocations: 1.935 MB / 1.101 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008379/1.133, allocations: 288.7 kB / 1.101 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006068/1.139, allocations: 4.433 MB / 1.105 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/1.139, allocations: 24 kB / 1.105 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/1.139, allocations: 19.75 kB / 1.105 GB, free: 109 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/1.139, allocations: 12.05 kB / 1.105 GB, free: 109 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.151, allocations: 9.641 MB / 1.115 GB, free: 99.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.152, allocations: 4.562 kB / 1.115 GB, free: 99.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009008/1.152, allocations: 236.2 kB / 1.115 GB, free: 99.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002776/1.155, allocations: 1.424 MB / 1.117 GB, free: 97.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.155, allocations: 40 kB / 1.117 GB, free: 97.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/1.172, allocations: 17.74 MB / 1.134 GB, free: 79.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.172, allocations: 8.031 kB / 1.134 GB, free: 79.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006685/1.179, allocations: 4.867 MB / 1.139 GB, free: 74.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.181, allocations: 0.6304 MB / 1.139 GB, free: 73.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003427/1.181, allocations: 43.98 kB / 1.139 GB, free: 73.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.182, allocations: 115.9 kB / 1.139 GB, free: 73.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004301/1.183, allocations: 177.6 kB / 1.14 GB, free: 73.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.183, allocations: 64 kB / 1.14 GB, free: 73.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001494/1.184, allocations: 1.292 MB / 1.141 GB, free: 71.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.184, allocations: 0 / 1.141 GB, free: 71.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003303/1.187, allocations: 1.141 MB / 1.142 GB, free: 70.77 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005622/1.193, allocations: 6.589 MB / 1.148 GB, free: 64.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006093/1.199, allocations: 4.667 MB / 1.153 GB, free: 59.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/1.199, allocations: 4 kB / 1.153 GB, free: 59.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003594/1.203, allocations: 2.933 MB / 1.156 GB, free: 56.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/1.206, allocations: 0.7943 MB / 1.157 GB, free: 55.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04207/1.248, allocations: 41.18 MB / 1.197 GB, free: 12.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003236/1.252, allocations: 3.785 MB / 1.201 GB, free: 8.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002025/1.254, allocations: 0.5556 MB / 1.201 GB, free: 8.207 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/1.255, allocations: 1.952 MB / 1.203 GB, free: 6.254 MB / 0.698 GB Notification: Performance of SimCode: time 9.51e-07/1.255, allocations: 0 / 1.203 GB, free: 6.254 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/1.38, allocations: 82.31 MB / 1.283 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/1.38, allocations: 232.6 kB / 1.284 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.285/5.665, allocations: 0 / 1.284 GB, free: 4.504 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)