Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.227/2.227, allocations: 248.5 MB / 261.1 MB, free: 6.02 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.00146/0.00146, allocations: 180.9 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.00111/0.00111, allocations: 100.1 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.694e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2122, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9086/1.121, allocations: 147.3 MB / 1.035 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/1.121, allocations: 96.39 kB / 1.035 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1192/1.241, allocations: 29.46 MB / 1.063 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.615e-06/1.241, allocations: 0 / 1.063 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.483e-05/1.241, allocations: 20 kB / 1.063 GB, free: 12.16 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001884/1.243, allocations: 0.7855 MB / 1.064 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.243, allocations: 8.031 kB / 1.064 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/1.243, allocations: 85.39 kB / 1.064 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/1.245, allocations: 206.9 kB / 1.064 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/1.246, allocations: 480.1 kB / 1.065 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/1.246, allocations: 41.91 kB / 1.065 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/1.246, allocations: 49.39 kB / 1.065 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/1.248, allocations: 0.9131 MB / 1.066 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/1.249, allocations: 11.92 kB / 1.066 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-05/1.249, allocations: 29.92 kB / 1.066 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/1.249, allocations: 52.31 kB / 1.066 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/1.25, allocations: 0.547 MB / 1.067 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007573/1.258, allocations: 5.662 MB / 1.072 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/1.259, allocations: 453.7 kB / 1.072 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/1.26, allocations: 225.4 kB / 1.073 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.772e-05/1.26, allocations: 7.953 kB / 1.073 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/1.26, allocations: 41.62 kB / 1.073 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 3.687e-06/1.26, allocations: 0 / 1.073 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.002664/1.262, allocations: 0.8365 MB / 1.074 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/1.262, allocations: 59.34 kB / 1.074 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007651/1.263, allocations: 424.4 kB / 1.074 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/1.263, allocations: 32.45 kB / 1.074 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/1.264, allocations: 342.6 kB / 1.074 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/1.264, allocations: 118.9 kB / 1.074 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/1.264, allocations: 9.375 kB / 1.074 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002085/1.264, allocations: 370.9 kB / 1.075 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/1.265, allocations: 179.7 kB / 1.075 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006653/1.265, allocations: 408.8 kB / 1.075 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/1.266, allocations: 250.8 kB / 1.076 GB, free: 496 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/1.266, allocations: 4 kB / 1.076 GB, free: 492 kB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002207/1.268, allocations: 0.7637 MB / 1.076 GB, free: 15.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/1.268, allocations: 10.66 kB / 1.076 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/1.268, allocations: 8 kB / 1.076 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008248/1.269, allocations: 152.2 kB / 1.077 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/1.27, allocations: 114.7 kB / 1.077 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/1.275, allocations: 4.043 MB / 1.081 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/1.276, allocations: 34.28 kB / 1.081 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/1.276, allocations: 23.56 kB / 1.081 GB, free: 11.28 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002057/1.276, allocations: 138.1 kB / 1.081 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/1.276, allocations: 55.34 kB / 1.081 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/1.278, allocations: 0.6048 MB / 1.081 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/1.278, allocations: 7.953 kB / 1.081 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.278, allocations: 0 / 1.081 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/1.278, allocations: 0 / 1.081 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/1.281, allocations: 1.249 MB / 1.083 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.281, allocations: 3.953 kB / 1.083 GB, free: 9.547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/1.282, allocations: 58.95 kB / 1.083 GB, free: 9.492 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007279/1.282, allocations: 139.7 kB / 1.083 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/1.282, allocations: 7.25 kB / 1.083 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004733/1.287, allocations: 4.024 MB / 1.087 GB, free: 5.109 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.287, allocations: 8.016 kB / 1.087 GB, free: 5.102 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/1.289, allocations: 0.7814 MB / 1.088 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/1.29, allocations: 172 kB / 1.088 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/1.29, allocations: 7.25 kB / 1.088 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005085/1.29, allocations: 27.41 kB / 1.088 GB, free: 4.164 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.29, allocations: 35.23 kB / 1.088 GB, free: 4.133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/1.29, allocations: 8 kB / 1.088 GB, free: 4.125 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005681/1.291, allocations: 324.4 kB / 1.088 GB, free: 3.879 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.291, allocations: 0 / 1.088 GB, free: 3.879 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001108/1.292, allocations: 142.8 kB / 1.088 GB, free: 3.754 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002496/1.295, allocations: 1.829 MB / 1.09 GB, free: 1.973 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002247/1.297, allocations: 1.009 MB / 1.091 GB, free: 1.027 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.297, allocations: 0 / 1.091 GB, free: 1.027 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/1.298, allocations: 0.7276 MB / 1.092 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/1.3, allocations: 180.5 kB / 1.092 GB, free: 112 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/1.303, allocations: 0.8649 MB / 1.093 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/1.304, allocations: 0.9219 MB / 1.094 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006476/1.304, allocations: 117.1 kB / 1.094 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/1.305, allocations: 195.4 kB / 1.094 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.305, allocations: 0 / 1.094 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05354/1.358, allocations: 11.99 MB / 1.106 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/1.359, allocations: 192.7 kB / 1.106 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/4.117, allocations: 3.938 kB / 1.106 GB, free: 1.941 MB / 0.7136 GB