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.274/2.274, allocations: 251 MB / 265.9 MB, free: 11.74 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.001575/0.001575, allocations: 178.6 kB / 325.5 MB, free: 2.922 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.498/2.498, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.00119/0.00119, allocations: 102 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007157/0.0007157, allocations: 14.92 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2475, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2582/0.5058, allocations: 147.3 MB / 1.043 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004048/0.5063, allocations: 95.94 kB / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7299/1.236, allocations: 29.64 MB / 1.072 GB, free: 148.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/1.236, allocations: 0 / 1.072 GB, free: 148.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.564e-05/1.236, allocations: 21.14 kB / 1.072 GB, free: 148.6 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001933/1.238, allocations: 0.8569 MB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.238, allocations: 8.188 kB / 1.073 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/1.239, allocations: 96.86 kB / 1.073 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/1.241, allocations: 203.9 kB / 1.073 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/1.242, allocations: 486.1 kB / 1.073 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/1.242, allocations: 29.72 kB / 1.073 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/1.242, allocations: 44.34 kB / 1.073 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/1.244, allocations: 0.9377 MB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/1.244, allocations: 6.562 kB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/1.244, allocations: 26.19 kB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/1.244, allocations: 52.03 kB / 1.074 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/1.246, allocations: 0.5702 MB / 1.075 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005988/1.252, allocations: 5.658 MB / 1.081 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/1.253, allocations: 456.5 kB / 1.081 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.485e-05/1.253, allocations: 2.75 kB / 1.081 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/1.253, allocations: 47.36 kB / 1.081 GB, free: 142.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 3.116e-06/1.253, allocations: 0 / 1.081 GB, free: 142.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.004421/1.257, allocations: 1.507 MB / 1.082 GB, free: 141.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/1.257, allocations: 54.62 kB / 1.083 GB, free: 141.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007755/1.258, allocations: 427.8 kB / 1.083 GB, free: 141.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/1.258, allocations: 30.55 kB / 1.083 GB, free: 141.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/1.259, allocations: 343.6 kB / 1.083 GB, free: 141.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/1.259, allocations: 119.7 kB / 1.083 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/1.259, allocations: 11.53 kB / 1.083 GB, free: 141.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.259, allocations: 367.5 kB / 1.084 GB, free: 140.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/1.259, allocations: 188.1 kB / 1.084 GB, free: 140.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/1.26, allocations: 406.7 kB / 1.084 GB, free: 140.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/1.261, allocations: 255.6 kB / 1.085 GB, free: 140.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.261, allocations: 2.125 kB / 1.085 GB, free: 140.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002116/1.263, allocations: 0.7714 MB / 1.085 GB, free: 140.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/1.263, allocations: 7.594 kB / 1.085 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.263, allocations: 7.094 kB / 1.085 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008334/1.264, allocations: 149.4 kB / 1.085 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/1.264, allocations: 113 kB / 1.086 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/1.268, allocations: 4.063 MB / 1.09 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008406/1.269, allocations: 32.47 kB / 1.09 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/1.269, allocations: 26.38 kB / 1.09 GB, free: 136.5 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 () * Number of clocked 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.000444/1.27, allocations: 211 kB / 1.09 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/1.27, allocations: 60.81 kB / 1.09 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/1.272, allocations: 0.599 MB / 1.09 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/1.272, allocations: 3.625 kB / 1.09 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.272, allocations: 5.766 kB / 1.09 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/1.272, allocations: 0 / 1.09 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/1.275, allocations: 1.261 MB / 1.092 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.275, allocations: 1.438 kB / 1.092 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/1.276, allocations: 58.28 kB / 1.092 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007388/1.276, allocations: 145.8 kB / 1.092 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/1.276, allocations: 10.09 kB / 1.092 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00335/1.28, allocations: 4.047 MB / 1.096 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.28, allocations: 8 kB / 1.096 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/1.282, allocations: 0.8015 MB / 1.097 GB, free: 130.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/1.282, allocations: 165.3 kB / 1.097 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/1.282, allocations: 7.938 kB / 1.097 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/1.283, allocations: 21.19 kB / 1.097 GB, free: 130.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/1.283, allocations: 34.95 kB / 1.097 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/1.283, allocations: 15.52 kB / 1.097 GB, free: 130.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005618/1.284, allocations: 327.3 kB / 1.097 GB, free: 130.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.3e-07/1.284, allocations: 4 kB / 1.097 GB, free: 130.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001108/1.285, allocations: 143.4 kB / 1.097 GB, free: 130.2 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 () * Number of clocked 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.00212/1.287, allocations: 1.823 MB / 1.099 GB, free: 128.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002114/1.289, allocations: 1.02 MB / 1.1 GB, free: 127.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.289, allocations: 4.125 kB / 1.1 GB, free: 127.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.29, allocations: 0.7377 MB / 1.101 GB, free: 127.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/1.292, allocations: 185.2 kB / 1.101 GB, free: 127 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007684/1.3, allocations: 8.2 MB / 1.109 GB, free: 119.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/1.3, allocations: 0.9147 MB / 1.11 GB, free: 119.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006166/1.301, allocations: 122 kB / 1.11 GB, free: 119 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003387/1.301, allocations: 197 kB / 1.11 GB, free: 118.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.604e-06/1.301, allocations: 0 / 1.11 GB, free: 118.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/1.346, allocations: 12.08 MB / 1.122 GB, free: 108.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/1.347, allocations: 214.5 kB / 1.122 GB, free: 108 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/4.23, allocations: 2.391 kB / 1.122 GB, free: 108 MB / 0.698 GB