Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.656/2.657, allocations: 287.3 MB / 302.3 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 186.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 93.14 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007017/0.0007018, allocations: 10.91 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.23, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004672/0.2347, allocations: 3.045 MB / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003263/0.2381, allocations: 1.615 MB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.2383, allocations: 4 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.2385, allocations: 31.78 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005135/0.239, allocations: 143.4 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.2397, allocations: 183.5 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.2401, allocations: 223.5 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008801/0.241, allocations: 386.8 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.2412, allocations: 107.7 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.2415, allocations: 131.5 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.2416, allocations: 16 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.242, allocations: 135.8 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2421, allocations: 75.78 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.247e-05/0.2422, allocations: 77.52 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.2427, allocations: 355 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2427, allocations: 0 / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2427, allocations: 0 / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.2427, allocations: 0 / 0.9846 GB, free: 21.75 MB / 0.6198 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.001436/0.2442, allocations: 0.5941 MB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.507e-05/0.2443, allocations: 8.031 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.649e-05/0.2444, allocations: 62.53 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.2455, allocations: 107.5 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.2459, allocations: 278.2 kB / 0.9856 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.2459, allocations: 16.42 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.246, allocations: 20 kB / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.2471, allocations: 426.6 kB / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.2471, allocations: 3.938 kB / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.2472, allocations: 8 kB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/0.2473, allocations: 24.36 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.2487, allocations: 412.7 kB / 0.9865 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.251, allocations: 1.619 MB / 0.9881 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.2528, allocations: 493.2 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.253, allocations: 93.09 kB / 0.9887 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008118/0.2539, allocations: 266.5 kB / 0.9889 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.986e-06/0.2539, allocations: 4 kB / 0.9889 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.002996/0.2569, allocations: 0.781 MB / 0.9897 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.257, allocations: 85.05 kB / 0.9898 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.2572, allocations: 224.9 kB / 0.99 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.2573, allocations: 33.7 kB / 0.99 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2574, allocations: 164.3 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.741e-05/0.2575, allocations: 106.6 kB / 0.9903 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.2576, allocations: 4 kB / 0.9903 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.2577, allocations: 338.8 kB / 0.9906 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006542/0.2583, allocations: 180.2 kB / 0.9908 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/0.259, allocations: 261.3 kB / 0.991 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.2598, allocations: 230.3 kB / 0.9912 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.2598, allocations: 4 kB / 0.9912 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001841/0.2616, allocations: 0.5641 MB / 0.9918 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.2619, allocations: 0.9041 MB / 0.9927 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2619, allocations: 4 kB / 0.9927 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/0.2623, allocations: 40.81 kB / 0.9927 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/0.263, allocations: 95.86 kB / 0.9928 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.2646, allocations: 1.509 MB / 0.9943 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.2652, allocations: 59.75 kB / 0.9943 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.2653, allocations: 8 kB / 0.9943 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.2653, allocations: 4 kB / 0.9943 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001647/0.267, allocations: 0.4982 MB / 0.9948 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.267, allocations: 3.984 kB / 0.9948 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.2672, allocations: 40.83 kB / 0.9949 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/0.2679, allocations: 92.03 kB / 0.995 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.2693, allocations: 1.489 MB / 0.9964 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.2699, allocations: 60.03 kB / 0.9965 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.2699, allocations: 11.98 kB / 0.9965 GB, free: 8.809 MB / 0.6198 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.0002741/0.2702, allocations: 241 kB / 0.9967 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.2703, allocations: 23.72 kB / 0.9967 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.2719, allocations: 497 kB / 0.9972 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.272, allocations: 4 kB / 0.9972 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.272, allocations: 3.953 kB / 0.9972 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.272, allocations: 4.266 kB / 0.9972 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008482/0.2728, allocations: 0.5661 MB / 0.9978 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2729, allocations: 0 / 0.9978 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/0.2736, allocations: 83.86 kB / 0.9979 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/0.2738, allocations: 40.91 kB / 0.9979 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.2738, allocations: 19.88 kB / 0.9979 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.2751, allocations: 1.42 MB / 0.9993 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2751, allocations: 3.938 kB / 0.9993 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.2768, allocations: 0.5978 MB / 0.9999 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.277, allocations: 136.6 kB / 1 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.2771, allocations: 4 kB / 1 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.2777, allocations: 43.95 kB / 1 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.2778, allocations: 39.89 kB / 1 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.2779, allocations: 8 kB / 1 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002004/0.2781, allocations: 168.5 kB / 1 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2781, allocations: 0 / 1 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008249/0.2789, allocations: 128 kB / 1 GB, free: 4.523 MB / 0.6198 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.001895/0.2808, allocations: 1.356 MB / 1.002 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002773/0.2836, allocations: 1.004 MB / 1.003 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.2837, allocations: 3.938 kB / 1.003 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009816/0.2847, allocations: 338.8 kB / 1.003 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.2852, allocations: 44.47 kB / 1.003 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.2911, allocations: 3.329 MB / 1.006 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.2916, allocations: 0.7958 MB / 1.007 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000594/0.2922, allocations: 98.47 kB / 1.007 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.2925, allocations: 79.41 kB / 1.007 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.2925, allocations: 0 / 1.007 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.3261, allocations: 6.575 MB / 1.014 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003837/0.3265, allocations: 233.3 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/3.15, allocations: 0 / 1.014 GB, free: 6.688 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)