Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.913/1.913, allocations: 288.4 MB / 303.3 MB, free: 8.18 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.001691/0.001691, allocations: 180.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0007406/0.0007405, allocations: 106.3 kB / 0.7441 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006567/0.0006563, allocations: 11.38 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2751, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003888/0.279, allocations: 3.102 MB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002515/0.2816, allocations: 1.653 MB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.2818, allocations: 0 / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.2821, allocations: 31.72 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000581/0.2827, allocations: 159.3 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.2834, allocations: 191.5 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.2839, allocations: 422.6 kB / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007619/0.2846, allocations: 373.3 kB / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.285, allocations: 139.5 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004137/0.2854, allocations: 163.4 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.2855, allocations: 16 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.2859, allocations: 135.8 kB / 0.9859 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.286, allocations: 79.77 kB / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.2861, allocations: 77.52 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.2866, allocations: 347 kB / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.2866, allocations: 0 / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.557e-06/0.2866, allocations: 0 / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.2866, allocations: 0 / 0.9863 GB, free: 20.65 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.001294/0.2879, allocations: 0.6019 MB / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.288, allocations: 8.031 kB / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.72e-05/0.2881, allocations: 74.52 kB / 0.987 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007675/0.2889, allocations: 99.48 kB / 0.9871 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.2893, allocations: 274.5 kB / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.2893, allocations: 12.44 kB / 0.9874 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.2894, allocations: 23.98 kB / 0.9874 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.2901, allocations: 422.6 kB / 0.9878 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.2901, allocations: 7.938 kB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.2902, allocations: 7.984 kB / 0.9878 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.2902, allocations: 32.36 kB / 0.9878 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008373/0.2911, allocations: 408.5 kB / 0.9882 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.2927, allocations: 1.615 MB / 0.9898 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.2937, allocations: 493.2 kB / 0.9903 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.2941, allocations: 201.5 kB / 0.9905 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.2943, allocations: 93.11 kB / 0.9906 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005094/0.2948, allocations: 284.3 kB / 0.9908 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.384e-06/0.2948, allocations: 0 / 0.9908 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001766/0.2966, allocations: 0.7806 MB / 0.9916 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.2967, allocations: 81.11 kB / 0.9917 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.2969, allocations: 224.9 kB / 0.9919 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.2969, allocations: 29.7 kB / 0.9919 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.297, allocations: 168.4 kB / 0.9921 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.2971, allocations: 102.6 kB / 0.9922 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.2971, allocations: 4 kB / 0.9922 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.2972, allocations: 334.8 kB / 0.9925 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.2975, allocations: 184.2 kB / 0.9927 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.2979, allocations: 261 kB / 0.9929 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.2984, allocations: 230.3 kB / 0.9931 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2984, allocations: 4 kB / 0.9931 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009971/0.2994, allocations: 0.5593 MB / 0.9937 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.651e-05/0.2995, allocations: 178.6 kB / 0.9939 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2995, allocations: 8 kB / 0.9939 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002256/0.2997, allocations: 48.8 kB / 0.9939 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.3001, allocations: 91.86 kB / 0.994 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.3013, allocations: 1.485 MB / 0.9955 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.3016, allocations: 51.8 kB / 0.9955 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.3017, allocations: 20.05 kB / 0.9955 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.3017, allocations: 4 kB / 0.9955 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009636/0.3027, allocations: 0.4943 MB / 0.996 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3027, allocations: 256 / 0.996 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.3028, allocations: 48.83 kB / 0.9961 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.3032, allocations: 83.86 kB / 0.9961 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009295/0.3041, allocations: 1.489 MB / 0.9976 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.3044, allocations: 47.8 kB / 0.9976 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.3045, allocations: 16 kB / 0.9976 GB, free: 8.285 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.0002051/0.3047, allocations: 241.1 kB / 0.9979 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.3047, allocations: 23.72 kB / 0.9979 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009838/0.3057, allocations: 493.6 kB / 0.9984 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3058, allocations: 7.938 kB / 0.9984 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3058, allocations: 4 kB / 0.9984 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3058, allocations: 0 / 0.9984 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.3063, allocations: 0.5777 MB / 0.9989 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3064, allocations: 4 kB / 0.999 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.3067, allocations: 79.95 kB / 0.999 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.3069, allocations: 40.83 kB / 0.9991 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.3069, allocations: 0 / 0.9991 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008227/0.3077, allocations: 1.421 MB / 1 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3077, allocations: 0 / 1 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008784/0.3086, allocations: 0.5656 MB / 1.001 GB, free: 4.605 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3088, allocations: 132.6 kB / 1.001 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.3088, allocations: 8 kB / 1.001 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.3092, allocations: 47.94 kB / 1.001 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.3093, allocations: 31.91 kB / 1.001 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.3093, allocations: 12 kB / 1.001 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000142/0.3095, allocations: 168.5 kB / 1.001 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3095, allocations: 0 / 1.001 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005778/0.31, allocations: 128 kB / 1.002 GB, free: 4.066 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.001125/0.3112, allocations: 1.115 MB / 1.003 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.3129, allocations: 1.004 MB / 1.004 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3129, allocations: 0 / 1.004 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.3135, allocations: 346.7 kB / 1.004 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.3139, allocations: 48.42 kB / 1.004 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.3172, allocations: 1.982 MB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.3177, allocations: 0.7878 MB / 1.007 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003385/0.318, allocations: 98.19 kB / 1.007 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.3182, allocations: 83.41 kB / 1.007 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.3182, allocations: 0 / 1.007 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.3382, allocations: 6.598 MB / 1.013 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/0.3385, allocations: 266.9 kB / 1.014 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/2.467, allocations: 0 / 1.014 GB, free: 7.711 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)