Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 251.9 MB / 266.9 MB, free: 11 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.001518/0.001518, allocations: 172.2 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0008341/0.0008343, allocations: 95.97 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003279, allocations: 9 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2487, allocations: 106.3 MB / 0.9002 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003749/0.2526, allocations: 3.052 MB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.2548, allocations: 1.63 MB / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.255, allocations: 4 kB / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.2552, allocations: 27.78 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.2556, allocations: 139.6 kB / 0.9049 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.2561, allocations: 183.5 kB / 0.9051 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.2563, allocations: 227.4 kB / 0.9053 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006592/0.257, allocations: 378.5 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.2572, allocations: 111.7 kB / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.2574, allocations: 131.5 kB / 0.9059 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.2575, allocations: 12 kB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.2577, allocations: 139.8 kB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.2578, allocations: 79.78 kB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.2578, allocations: 69.58 kB / 0.9062 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.2582, allocations: 343.4 kB / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2582, allocations: 0 / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2582, allocations: 0 / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2582, allocations: 0 / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00107/0.2593, allocations: 0.6057 MB / 0.9071 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.2593, allocations: 12.03 kB / 0.9071 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.2594, allocations: 62.52 kB / 0.9072 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006978/0.2601, allocations: 103.6 kB / 0.9073 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.2604, allocations: 274.5 kB / 0.9075 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.2605, allocations: 16.44 kB / 0.9075 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.2605, allocations: 27.94 kB / 0.9076 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.2612, allocations: 418.6 kB / 0.908 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.2613, allocations: 3.938 kB / 0.908 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.2613, allocations: 8 kB / 0.908 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/0.2613, allocations: 28.36 kB / 0.908 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000756/0.2621, allocations: 412.7 kB / 0.9084 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.2636, allocations: 1.619 MB / 0.91 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.2646, allocations: 488.3 kB / 0.9104 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.2648, allocations: 97.03 kB / 0.9105 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.2653, allocations: 282.4 kB / 0.9108 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.023e-06/0.2653, allocations: 0 / 0.9108 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001667/0.2669, allocations: 0.7702 MB / 0.9116 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.267, allocations: 85.11 kB / 0.9116 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2672, allocations: 225 kB / 0.9118 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.2672, allocations: 29.7 kB / 0.9119 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.2673, allocations: 176.3 kB / 0.912 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.2674, allocations: 90.75 kB / 0.9121 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.2674, allocations: 4 kB / 0.9121 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.2675, allocations: 342.8 kB / 0.9125 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.2678, allocations: 176.2 kB / 0.9126 GB, free: 51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.2682, allocations: 253.3 kB / 0.9129 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.2686, allocations: 237.8 kB / 0.9131 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2686, allocations: 0 / 0.9131 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001019/0.2697, allocations: 0.5605 MB / 0.9136 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.2699, allocations: 0.9061 MB / 0.9145 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2699, allocations: 7.984 kB / 0.9145 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002612/0.2702, allocations: 48.8 kB / 0.9146 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.2706, allocations: 91.86 kB / 0.9147 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.2718, allocations: 1.512 MB / 0.9161 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.2722, allocations: 55.78 kB / 0.9162 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.2722, allocations: 19.98 kB / 0.9162 GB, free: 47.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.2722, allocations: 4 kB / 0.9162 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001006/0.2732, allocations: 0.4904 MB / 0.9167 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2733, allocations: 4 kB / 0.9167 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.2734, allocations: 36.83 kB / 0.9167 GB, free: 46.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.2737, allocations: 88.03 kB / 0.9168 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009915/0.2747, allocations: 1.505 MB / 0.9183 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.275, allocations: 43.81 kB / 0.9183 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.2751, allocations: 19.98 kB / 0.9184 GB, free: 44.72 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002404/0.2753, allocations: 233 kB / 0.9186 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.2754, allocations: 27.78 kB / 0.9186 GB, free: 44.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009482/0.2763, allocations: 498.5 kB / 0.9191 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2763, allocations: 0 / 0.9191 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2763, allocations: 15.94 kB / 0.9191 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2764, allocations: 0 / 0.9191 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.2769, allocations: 0.5545 MB / 0.9196 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2769, allocations: 7.938 kB / 0.9196 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.2773, allocations: 83.95 kB / 0.9197 GB, free: 43.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.2774, allocations: 40.81 kB / 0.9198 GB, free: 43.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.2775, allocations: 7.953 kB / 0.9198 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007961/0.2783, allocations: 1.433 MB / 0.9212 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2783, allocations: 0 / 0.9212 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.2792, allocations: 0.5978 MB / 0.9218 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.2793, allocations: 132.7 kB / 0.9219 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.2793, allocations: 8 kB / 0.9219 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.2796, allocations: 47.94 kB / 0.9219 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.635e-05/0.2797, allocations: 35.91 kB / 0.922 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.2798, allocations: 8 kB / 0.922 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001316/0.2799, allocations: 172.5 kB / 0.9221 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2799, allocations: 0 / 0.9221 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005578/0.2805, allocations: 124 kB / 0.9223 GB, free: 40.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/0.2817, allocations: 1.36 MB / 0.9236 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.2833, allocations: 1.013 MB / 0.9246 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2834, allocations: 0 / 0.9246 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000508/0.2839, allocations: 342.5 kB / 0.9249 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.2842, allocations: 40.59 kB / 0.9249 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.2874, allocations: 3.316 MB / 0.9282 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.2877, allocations: 0.7956 MB / 0.929 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000289/0.288, allocations: 94.2 kB / 0.929 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.2881, allocations: 84.53 kB / 0.9291 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of SimCode: time 1.643e-06/0.2881, allocations: 0 / 0.9291 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.3074, allocations: 6.584 MB / 0.9356 GB, free: 26.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.3077, allocations: 247.5 kB / 0.9358 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.41, allocations: 0 / 0.9358 GB, free: 26.55 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)