Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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.195/2.195, allocations: 248.5 MB / 261.1 MB, free: 6.062 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.001483/0.001483, allocations: 184.3 kB / 320.4 MB, free: 15.35 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.012/2.012, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001152/0.001152, allocations: 97.84 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.178e-05/5.203e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2408, allocations: 106.3 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9493/1.19, allocations: 153.4 MB / 1.041 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/1.191, allocations: 96.17 kB / 1.041 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.058/1.249, allocations: 14.15 MB / 1.054 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.623e-06/1.249, allocations: 0 / 1.054 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.702e-05/1.249, allocations: 8 kB / 1.054 GB, free: 3.492 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009033/1.25, allocations: 472.3 kB / 1.055 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/1.25, allocations: 8.031 kB / 1.055 GB, free: 2.988 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.982e-05/1.25, allocations: 57.22 kB / 1.055 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/1.251, allocations: 83.67 kB / 1.055 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/1.251, allocations: 236.2 kB / 1.055 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/1.251, allocations: 7.891 kB / 1.055 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/1.251, allocations: 22.81 kB / 1.055 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/1.252, allocations: 308.3 kB / 1.056 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/1.252, allocations: 7.938 kB / 1.056 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/1.252, allocations: 7.312 kB / 1.056 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/1.252, allocations: 27.17 kB / 1.056 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006689/1.253, allocations: 244.5 kB / 1.056 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/1.256, allocations: 1.631 MB / 1.057 GB, free: 468 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/1.257, allocations: 409.7 kB / 1.058 GB, free: 48 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/1.257, allocations: 89.34 kB / 1.058 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/1.257, allocations: 85.05 kB / 1.058 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/1.257, allocations: 38.56 kB / 1.058 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.795e-06/1.257, allocations: 0 / 1.058 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0008375/1.258, allocations: 248.9 kB / 1.058 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/1.258, allocations: 85.05 kB / 1.058 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/1.258, allocations: 146.9 kB / 1.059 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/1.258, allocations: 29.27 kB / 1.059 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.259, allocations: 157.4 kB / 1.059 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/1.259, allocations: 42.91 kB / 1.059 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/1.259, allocations: 3.312 kB / 1.059 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.259, allocations: 325 kB / 1.059 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/1.259, allocations: 77.09 kB / 1.059 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/1.259, allocations: 147.6 kB / 1.059 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/1.26, allocations: 107.7 kB / 1.059 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.26, allocations: 0 / 1.059 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006361/1.26, allocations: 261.2 kB / 1.06 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004697/1.261, allocations: 0.9693 MB / 1.061 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.261, allocations: 4 kB / 1.061 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.261, allocations: 4 kB / 1.061 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/1.261, allocations: 55.34 kB / 1.061 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/1.261, allocations: 7.984 kB / 1.061 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/1.262, allocations: 15.92 kB / 1.061 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/1.262, allocations: 11.31 kB / 1.061 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.262, allocations: 7.938 kB / 1.061 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005098/1.262, allocations: 204.2 kB / 1.061 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.262, allocations: 4 kB / 1.061 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/1.262, allocations: 4 kB / 1.061 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/1.263, allocations: 47.91 kB / 1.061 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.263, allocations: 7.984 kB / 1.061 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/1.263, allocations: 19.8 kB / 1.061 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/1.263, allocations: 8 kB / 1.061 GB, free: 13 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/1.263, allocations: 121.6 kB / 1.061 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/1.263, allocations: 15.81 kB / 1.061 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/1.264, allocations: 200.5 kB / 1.061 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.264, allocations: 4 kB / 1.061 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.264, allocations: 3.938 kB / 1.061 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.264, allocations: 0 / 1.061 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/1.266, allocations: 0.9772 MB / 1.062 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.266, allocations: 4 kB / 1.062 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/1.266, allocations: 31.92 kB / 1.062 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/1.266, allocations: 7.938 kB / 1.062 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/1.266, allocations: 4 kB / 1.062 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/1.266, allocations: 7.984 kB / 1.062 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.266, allocations: 7.938 kB / 1.062 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/1.267, allocations: 0.5783 MB / 1.063 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/1.267, allocations: 110.8 kB / 1.063 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/1.267, allocations: 11.98 kB / 1.063 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/1.267, allocations: 19.86 kB / 1.063 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/1.267, allocations: 11.94 kB / 1.063 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/1.267, allocations: 11.94 kB / 1.063 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001685/1.268, allocations: 126.6 kB / 1.063 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/1.268, allocations: 0 / 1.063 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007259/1.268, allocations: 85.36 kB / 1.063 GB, free: 10.67 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001564/1.27, allocations: 2.03 MB / 1.065 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007845/1.271, allocations: 287.8 kB / 1.065 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.271, allocations: 1.25 kB / 1.065 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/1.271, allocations: 88.78 kB / 1.066 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/1.271, allocations: 30.03 kB / 1.066 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/1.273, allocations: 442.7 kB / 1.066 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/1.273, allocations: 0.7585 MB / 1.067 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004507/1.274, allocations: 77.66 kB / 1.067 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/1.274, allocations: 55.84 kB / 1.067 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/1.274, allocations: 0 / 1.067 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/1.303, allocations: 3.463 MB / 1.07 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/1.304, allocations: 189.6 kB / 1.07 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.636, allocations: 0 / 1.07 GB, free: 3.422 MB / 0.6823 GB