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_L_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_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.488/1.488, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009577/0.0009576, allocations: 177.1 kB / 327 MB, free: 2.113 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.732/1.732, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007844/0.0007844, allocations: 105.4 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 8.875 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2477, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02865/0.2765, allocations: 33.58 MB / 0.9337 GB, free: 29.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01754/0.2941, allocations: 11.52 MB / 0.945 GB, free: 18.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004329/0.2984, allocations: 135.2 kB / 0.9451 GB, free: 18.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003301/0.3018, allocations: 0.6977 MB / 0.9458 GB, free: 17.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008479/0.3103, allocations: 1.867 MB / 0.9476 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006478/0.3168, allocations: 2 MB / 0.9496 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01211/0.329, allocations: 12.4 MB / 0.9617 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02651/0.3556, allocations: 14.32 MB / 0.9757 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006562/0.3622, allocations: 2.7 MB / 0.9783 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006598/0.3688, allocations: 3.558 MB / 0.9818 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001481/0.3703, allocations: 324 kB / 0.9821 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005376/0.3757, allocations: 1.911 MB / 0.9839 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004231/0.38, allocations: 2.463 MB / 0.9864 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005321/0.3853, allocations: 2.734 MB / 0.989 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.401, allocations: 11.44 MB / 1 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.401, allocations: 0 / 1 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4011, allocations: 0 / 1 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004849/0.4015, allocations: 0 / 1 GB, free: 9.391 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01351/0.4151, allocations: 4.663 MB / 1.005 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.4151, allocations: 12.03 kB / 1.005 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002809/0.4179, allocations: 0.8012 MB / 1.006 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006992/0.4249, allocations: 1.06 MB / 1.007 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008134/0.4331, allocations: 3.255 MB / 1.01 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005407/0.4337, allocations: 419.4 kB / 1.01 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002441/0.4362, allocations: 0.5393 MB / 1.011 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02548/0.4617, allocations: 9.079 MB / 1.02 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003843/0.4621, allocations: 19.78 kB / 1.02 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002339/0.4645, allocations: 240 kB / 1.02 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005462/0.465, allocations: 350.8 kB / 1.02 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01828/0.4833, allocations: 6.83 MB / 1.027 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5888/1.072, allocations: 40.18 MB / 1.066 GB, free: 118.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/1.076, allocations: 3.113 MB / 1.069 GB, free: 117.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/1.08, allocations: 1.945 MB / 1.071 GB, free: 117.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/1.08, allocations: 19.22 kB / 1.071 GB, free: 117.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/1.08, allocations: 55.86 kB / 1.071 GB, free: 117.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=179): time 4.468e-06/1.08, allocations: 0 / 1.071 GB, free: 117.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=182): time 0.02898/1.109, allocations: 10.04 MB / 1.081 GB, free: 116.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.109, allocations: 71.34 kB / 1.081 GB, free: 116.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/1.112, allocations: 1.531 MB / 1.082 GB, free: 116.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/1.112, allocations: 54.92 kB / 1.082 GB, free: 116.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/1.114, allocations: 2.253 MB / 1.085 GB, free: 115 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006659/1.114, allocations: 0.6301 MB / 1.085 GB, free: 114.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/1.114, allocations: 44.03 kB / 1.085 GB, free: 114.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.115, allocations: 405 kB / 1.086 GB, free: 114.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.116, allocations: 1.179 MB / 1.087 GB, free: 114.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/1.118, allocations: 1.884 MB / 1.089 GB, free: 113.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003466/1.121, allocations: 3.374 MB / 1.092 GB, free: 111.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/1.121, allocations: 3.906 kB / 1.092 GB, free: 111.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008304/1.13, allocations: 4.584 MB / 1.096 GB, free: 109.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/1.13, allocations: 13.88 kB / 1.096 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.362e-05/1.13, allocations: 22.28 kB / 1.097 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003933/1.134, allocations: 1.585 MB / 1.098 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.135, allocations: 351.3 kB / 1.098 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/1.153, allocations: 17.09 MB / 1.115 GB, free: 96.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/1.155, allocations: 119.7 kB / 1.115 GB, free: 96.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/1.155, allocations: 98.12 kB / 1.115 GB, free: 96.04 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 (177): * Single equations (assignments): 173 * 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 {(12,26,31.2%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003803/1.159, allocations: 1.895 MB / 1.117 GB, free: 94.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006891/1.16, allocations: 228.2 kB / 1.117 GB, free: 94.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006422/1.166, allocations: 4.093 MB / 1.121 GB, free: 90.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/1.166, allocations: 20 kB / 1.121 GB, free: 90.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.166, allocations: 16.11 kB / 1.121 GB, free: 90.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/1.167, allocations: 11.91 kB / 1.121 GB, free: 90.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/1.18, allocations: 9.459 MB / 1.131 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/1.18, allocations: 4 kB / 1.131 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/1.181, allocations: 176.5 kB / 1.131 GB, free: 81.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/1.184, allocations: 1.361 MB / 1.132 GB, free: 79.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/1.184, allocations: 36 kB / 1.132 GB, free: 79.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/1.2, allocations: 15.97 MB / 1.148 GB, free: 63.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.2, allocations: 13.25 kB / 1.148 GB, free: 63.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005971/1.206, allocations: 4.077 MB / 1.152 GB, free: 59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.208, allocations: 0.5295 MB / 1.152 GB, free: 58.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/1.208, allocations: 32 kB / 1.152 GB, free: 58.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009487/1.209, allocations: 91.89 kB / 1.152 GB, free: 58.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005077/1.209, allocations: 161.6 kB / 1.153 GB, free: 58.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/1.209, allocations: 48 kB / 1.153 GB, free: 58.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001205/1.211, allocations: 1.005 MB / 1.154 GB, free: 57.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/1.211, allocations: 0 / 1.154 GB, free: 57.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003077/1.214, allocations: 0.9922 MB / 1.155 GB, free: 56.1 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005634/1.219, allocations: 4.656 MB / 1.159 GB, free: 51.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00579/1.225, allocations: 4.304 MB / 1.163 GB, free: 47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.225, allocations: 4 kB / 1.163 GB, free: 47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003619/1.229, allocations: 2.676 MB / 1.166 GB, free: 44.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004169/1.233, allocations: 0.7265 MB / 1.167 GB, free: 43.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04098/1.274, allocations: 30.9 MB / 1.197 GB, free: 10.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003458/1.278, allocations: 3.576 MB / 1.2 GB, free: 7.062 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001421/1.279, allocations: 467.9 kB / 1.201 GB, free: 6.602 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/1.281, allocations: 1.784 MB / 1.202 GB, free: 4.816 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.281, allocations: 0 / 1.202 GB, free: 4.816 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/1.397, allocations: 69.86 MB / 1.271 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/1.397, allocations: 264 kB / 1.271 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.881/5.278, allocations: 4 kB / 1.271 GB, free: 15.27 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)