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.505/1.505, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009615/0.0009614, allocations: 185.2 kB / 325.9 MB, free: 2.715 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.853/1.853, allocations: 205 MB / 0.576 GB, free: 21 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.0007643/0.0007644, allocations: 100.9 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 8.438 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2381, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003975/0.2422, allocations: 3.277 MB / 0.8994 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.2445, allocations: 1.796 MB / 0.9012 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.2447, allocations: 4 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.2453, allocations: 224.9 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.2457, allocations: 179.2 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.2461, allocations: 227.5 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.2464, allocations: 0.4947 MB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.2468, allocations: 205.8 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.247, allocations: 135.5 kB / 0.9026 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.2472, allocations: 167.4 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.2473, allocations: 16 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.2476, allocations: 307.4 kB / 0.903 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.2477, allocations: 87.7 kB / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.2478, allocations: 123.3 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.2482, allocations: 470.4 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2482, allocations: 0 / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2482, allocations: 0 / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.2482, allocations: 0 / 0.9037 GB, free: 60.41 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.0009592/0.2492, allocations: 0.602 MB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2493, allocations: 8.031 kB / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.02e-05/0.2493, allocations: 66.7 kB / 0.9044 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006566/0.25, allocations: 96.55 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.2503, allocations: 283.3 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2503, allocations: 28.78 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.2503, allocations: 16.38 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.251, allocations: 430.7 kB / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.251, allocations: 0 / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.2511, allocations: 12 kB / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/0.2511, allocations: 20.36 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/0.2519, allocations: 424.7 kB / 0.9056 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.2532, allocations: 1.607 MB / 0.9072 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009724/0.2542, allocations: 482.8 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.2546, allocations: 213.6 kB / 0.9078 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.2547, allocations: 89.09 kB / 0.9079 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004636/0.2552, allocations: 282.5 kB / 0.9082 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.743e-06/0.2552, allocations: 0 / 0.9082 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001597/0.2568, allocations: 0.7819 MB / 0.909 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.2569, allocations: 81.11 kB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.257, allocations: 232.9 kB / 0.9093 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2571, allocations: 29.7 kB / 0.9093 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.2571, allocations: 164.4 kB / 0.9094 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.2572, allocations: 94.64 kB / 0.9095 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.2573, allocations: 37.64 kB / 0.9096 GB, free: 54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.2573, allocations: 338.8 kB / 0.9099 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.2577, allocations: 176.2 kB / 0.9101 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.2581, allocations: 265.3 kB / 0.9103 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.2588, allocations: 486.9 kB / 0.9108 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2588, allocations: 0 / 0.9108 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000939/0.2598, allocations: 0.5636 MB / 0.9113 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.031e-05/0.2598, allocations: 182.6 kB / 0.9115 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2599, allocations: 48 / 0.9115 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.2601, allocations: 44.81 kB / 0.9115 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.2604, allocations: 91.86 kB / 0.9116 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.2615, allocations: 1.505 MB / 0.9131 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.2618, allocations: 51.8 kB / 0.9131 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.2618, allocations: 8 kB / 0.9132 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/0.2618, allocations: 6.5 kB / 0.9132 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008773/0.2627, allocations: 0.4983 MB / 0.9136 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2627, allocations: 4 kB / 0.9137 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.2629, allocations: 44.75 kB / 0.9137 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.2632, allocations: 91.97 kB / 0.9138 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000821/0.264, allocations: 1.497 MB / 0.9152 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.2643, allocations: 47.8 kB / 0.9153 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.2643, allocations: 16 kB / 0.9153 GB, free: 47.7 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 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.2645, allocations: 241.7 kB / 0.9155 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.2645, allocations: 23.72 kB / 0.9156 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009095/0.2654, allocations: 498.5 kB / 0.916 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2654, allocations: 8 kB / 0.916 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2655, allocations: 0 / 0.916 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2655, allocations: 0 / 0.916 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.266, allocations: 0.5545 MB / 0.9166 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.266, allocations: 4 kB / 0.9166 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.2663, allocations: 91.94 kB / 0.9167 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-05/0.2664, allocations: 32.83 kB / 0.9167 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.2664, allocations: 8 kB / 0.9167 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000711/0.2672, allocations: 1.413 MB / 0.9181 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2672, allocations: 3.938 kB / 0.9181 GB, free: 44.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008133/0.268, allocations: 0.5771 MB / 0.9187 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.2681, allocations: 128.7 kB / 0.9188 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.2681, allocations: 8 kB / 0.9188 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.2684, allocations: 39.95 kB / 0.9188 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2685, allocations: 35.95 kB / 0.9189 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.2686, allocations: 12 kB / 0.9189 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001244/0.2687, allocations: 176.4 kB / 0.919 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2687, allocations: 0 / 0.919 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000491/0.2692, allocations: 124 kB / 0.9192 GB, free: 43.48 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001076/0.2703, allocations: 1.114 MB / 0.9202 GB, free: 42.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.2718, allocations: 1.017 MB / 0.9212 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2718, allocations: 0 / 0.9212 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.2723, allocations: 346.8 kB / 0.9216 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.2728, allocations: 53.09 kB / 0.9216 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.2767, allocations: 3.485 MB / 0.925 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.277, allocations: 0.7917 MB / 0.9258 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.2772, allocations: 90.2 kB / 0.9259 GB, free: 36.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.2774, allocations: 95.39 kB / 0.926 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2774, allocations: 0 / 0.926 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.2936, allocations: 6.586 MB / 0.9324 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.2939, allocations: 278.3 kB / 0.9327 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.476, allocations: 0 / 0.9327 GB, free: 29.52 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)