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.182/2.182, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001426/0.001426, allocations: 179.4 kB / 315.4 MB, free: 4.012 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.118/2.118, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001109/0.001109, allocations: 92.36 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.987e-05/2.014e-05, allocations: 0 / 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.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.921/1.127, allocations: 147.5 MB / 1.028 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/1.128, allocations: 95.05 kB / 1.028 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1191/1.247, allocations: 29.35 MB / 1.057 GB, free: 116 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.154e-06/1.247, allocations: 0 / 1.057 GB, free: 116 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.568e-05/1.247, allocations: 19.98 kB / 1.057 GB, free: 96 kB / 0.6667 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.001848/1.249, allocations: 0.7777 MB / 1.058 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/1.249, allocations: 12.03 kB / 1.058 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/1.252, allocations: 198.7 kB / 1.058 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/1.254, allocations: 496.7 kB / 1.058 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/1.254, allocations: 12 kB / 1.058 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/1.254, allocations: 31.91 kB / 1.058 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00114/1.255, allocations: 419.4 kB / 1.059 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/1.257, allocations: 0.8467 MB / 1.06 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/1.257, allocations: 11.92 kB / 1.06 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/1.257, allocations: 8 kB / 1.06 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/1.257, allocations: 56.61 kB / 1.06 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007058/1.264, allocations: 5.546 MB / 1.065 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.265, allocations: 436.4 kB / 1.066 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/1.266, allocations: 216 kB / 1.066 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/1.266, allocations: 4 kB / 1.066 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/1.266, allocations: 34.5 kB / 1.066 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 3.196e-06/1.266, allocations: 0 / 1.066 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.002407/1.268, allocations: 0.8127 MB / 1.067 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/1.268, allocations: 59.41 kB / 1.067 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/1.269, allocations: 350.3 kB / 1.067 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/1.269, allocations: 25.7 kB / 1.067 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/1.269, allocations: 349 kB / 1.067 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/1.269, allocations: 114.2 kB / 1.067 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/1.269, allocations: 0 / 1.067 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1.27, allocations: 358 kB / 1.068 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/1.27, allocations: 176.7 kB / 1.068 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/1.271, allocations: 387.6 kB / 1.068 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/1.271, allocations: 240.2 kB / 1.069 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/1.271, allocations: 4 kB / 1.069 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001864/1.273, allocations: 0.6927 MB / 1.069 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/1.273, allocations: 8 kB / 1.069 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.273, allocations: 8 kB / 1.069 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000774/1.274, allocations: 143.5 kB / 1.069 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/1.275, allocations: 114.9 kB / 1.07 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/1.279, allocations: 3.873 MB / 1.073 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/1.28, allocations: 27.86 kB / 1.073 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/1.28, allocations: 27.7 kB / 1.073 GB, free: 15.94 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.00019/1.28, allocations: 123.5 kB / 1.073 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00148/1.282, allocations: 0.5174 MB / 1.074 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/1.282, allocations: 58.34 kB / 1.074 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/1.283, allocations: 0.5581 MB / 1.075 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.283, allocations: 4 kB / 1.075 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.283, allocations: 4 kB / 1.075 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.283, allocations: 4 kB / 1.075 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/1.286, allocations: 1.152 MB / 1.076 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.286, allocations: 7.938 kB / 1.076 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/1.287, allocations: 55.89 kB / 1.076 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000686/1.287, allocations: 135.4 kB / 1.076 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/1.287, allocations: 8.125 kB / 1.076 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/1.292, allocations: 3.858 MB / 1.08 GB, free: 9.652 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.292, allocations: 3.984 kB / 1.08 GB, free: 9.648 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/1.293, allocations: 0.7612 MB / 1.08 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/1.294, allocations: 163 kB / 1.081 GB, free: 8.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/1.294, allocations: 4 kB / 1.081 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/1.294, allocations: 19.97 kB / 1.081 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.295, allocations: 43.41 kB / 1.081 GB, free: 8.691 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/1.295, allocations: 8 kB / 1.081 GB, free: 8.684 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003999/1.295, allocations: 257.8 kB / 1.081 GB, free: 8.488 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.295, allocations: 0 / 1.081 GB, free: 8.488 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009178/1.296, allocations: 124 kB / 1.081 GB, free: 8.367 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.002237/1.298, allocations: 1.794 MB / 1.083 GB, free: 6.605 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001987/1.3, allocations: 0.9585 MB / 1.084 GB, free: 5.715 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.3, allocations: 0 / 1.084 GB, free: 5.715 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.302, allocations: 0.7058 MB / 1.084 GB, free: 5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/1.303, allocations: 162.9 kB / 1.085 GB, free: 4.871 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/1.306, allocations: 0.8315 MB / 1.085 GB, free: 4.059 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/1.306, allocations: 0.9238 MB / 1.086 GB, free: 3.121 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006128/1.307, allocations: 108.8 kB / 1.086 GB, free: 3.016 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/1.307, allocations: 190 kB / 1.087 GB, free: 2.965 MB / 0.698 GB Notification: Performance of SimCode: time 9.41e-07/1.307, allocations: 0 / 1.087 GB, free: 2.965 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05912/1.366, allocations: 10.61 MB / 1.097 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003287/1.367, allocations: 172.8 kB / 1.097 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/4.11, allocations: 4.031 kB / 1.097 GB, free: 8.227 MB / 0.7136 GB