Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.212/2.212, allocations: 248.7 MB / 256.2 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 180.4 kB / 315.4 MB, free: 4 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.029/2.029, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 99.72 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.425e-05/2.408e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2062, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8839/1.09, allocations: 158.1 MB / 1.039 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/1.091, allocations: 93.19 kB / 1.039 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1549/1.245, allocations: 37.13 MB / 1.075 GB, free: 15.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/1.246, allocations: 0 / 1.075 GB, free: 15.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.434e-05/1.246, allocations: 20 kB / 1.075 GB, free: 15.36 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002477/1.248, allocations: 0.8749 MB / 1.076 GB, free: 14.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.248, allocations: 8.031 kB / 1.076 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002615/1.251, allocations: 210.8 kB / 1.076 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/1.253, allocations: 0.5536 MB / 1.076 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/1.253, allocations: 20 kB / 1.077 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/1.253, allocations: 43.89 kB / 1.077 GB, free: 13.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001623/1.255, allocations: 0.5422 MB / 1.077 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/1.257, allocations: 0.9844 MB / 1.078 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.478e-05/1.257, allocations: 7.938 kB / 1.078 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.257, allocations: 4 kB / 1.078 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/1.257, allocations: 60.41 kB / 1.078 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008397/1.266, allocations: 5.64 MB / 1.084 GB, free: 6.797 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/1.267, allocations: 0.5796 MB / 1.084 GB, free: 6.328 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/1.268, allocations: 376.2 kB / 1.085 GB, free: 6.066 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/1.268, allocations: 4 kB / 1.085 GB, free: 6.062 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/1.268, allocations: 41.67 kB / 1.085 GB, free: 6.016 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 3.096e-06/1.268, allocations: 0 / 1.085 GB, free: 6.016 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.003773/1.272, allocations: 1.161 MB / 1.086 GB, free: 5.105 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/1.272, allocations: 55.41 kB / 1.086 GB, free: 5.039 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/1.273, allocations: 336.6 kB / 1.086 GB, free: 4.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.467e-05/1.273, allocations: 25.7 kB / 1.086 GB, free: 4.738 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/1.273, allocations: 384.1 kB / 1.086 GB, free: 4.434 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/1.273, allocations: 141.4 kB / 1.087 GB, free: 4.312 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/1.273, allocations: 0 / 1.087 GB, free: 4.312 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002006/1.274, allocations: 364.3 kB / 1.087 GB, free: 3.969 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004946/1.274, allocations: 220.6 kB / 1.087 GB, free: 3.836 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/1.275, allocations: 405.4 kB / 1.088 GB, free: 3.445 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/1.276, allocations: 290 kB / 1.088 GB, free: 3.254 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/1.276, allocations: 4 kB / 1.088 GB, free: 3.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002845/1.278, allocations: 0.9368 MB / 1.089 GB, free: 2.512 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/1.278, allocations: 12.03 kB / 1.089 GB, free: 2.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/1.279, allocations: 11.95 kB / 1.089 GB, free: 2.488 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/1.28, allocations: 313.6 kB / 1.089 GB, free: 2.227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/1.281, allocations: 91.45 kB / 1.089 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/1.291, allocations: 6.822 MB / 1.096 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/1.292, allocations: 19.97 kB / 1.096 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/1.292, allocations: 31.73 kB / 1.096 GB, free: 11.53 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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 {(2,100.0%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002033/1.292, allocations: 124.8 kB / 1.096 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002437/1.294, allocations: 0.794 MB / 1.097 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/1.295, allocations: 55.38 kB / 1.097 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/1.297, allocations: 0.8428 MB / 1.098 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.297, allocations: 4 kB / 1.098 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.297, allocations: 7.984 kB / 1.098 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/1.297, allocations: 0 / 1.098 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004614/1.302, allocations: 1.72 MB / 1.099 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.302, allocations: 4 kB / 1.099 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/1.302, allocations: 48.03 kB / 1.099 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/1.304, allocations: 272.3 kB / 1.1 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/1.304, allocations: 4 kB / 1.1 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009706/1.314, allocations: 6.551 MB / 1.106 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.314, allocations: 4 kB / 1.106 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/1.317, allocations: 0.9667 MB / 1.107 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/1.317, allocations: 168.4 kB / 1.107 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/1.317, allocations: 4 kB / 1.107 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/1.318, allocations: 15.97 kB / 1.107 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.318, allocations: 39.89 kB / 1.107 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/1.318, allocations: 11.95 kB / 1.107 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004353/1.318, allocations: 259.1 kB / 1.107 GB, free: 420 kB / 0.7136 GB Notification: Performance of sort global known variables: time 4.6e-07/1.318, allocations: 0 / 1.107 GB, free: 420 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001277/1.32, allocations: 179.9 kB / 1.108 GB, free: 240 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003217/1.323, allocations: 1.925 MB / 1.11 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002722/1.326, allocations: 1.094 MB / 1.111 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.326, allocations: 0 / 1.111 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/1.328, allocations: 0.7725 MB / 1.111 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.329, allocations: 166.1 kB / 1.112 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/1.332, allocations: 1.013 MB / 1.113 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008888/1.333, allocations: 1.008 MB / 1.113 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005616/1.334, allocations: 92.89 kB / 1.114 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/1.334, allocations: 223.3 kB / 1.114 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of SimCode: time 1.553e-06/1.334, allocations: 4 kB / 1.114 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06778/1.402, allocations: 12.89 MB / 1.126 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003103/1.402, allocations: 159.8 kB / 1.127 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/4.224, allocations: 4.031 kB / 1.127 GB, free: 12.7 MB / 0.7448 GB