Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009468/0.0009469, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.846/1.846, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005177, allocations: 14.84 kB / 0.6736 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2914, allocations: 116.3 MB / 0.7872 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003462/0.295, allocations: 2.451 MB / 0.7896 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.2974, allocations: 1.537 MB / 0.7911 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.2976, allocations: 3.938 kB / 0.7911 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.2978, allocations: 31.78 kB / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.2982, allocations: 123.6 kB / 0.7913 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.2987, allocations: 167.5 kB / 0.7914 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.299, allocations: 175.6 kB / 0.7916 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007389/0.2997, allocations: 363.2 kB / 0.7919 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.2999, allocations: 83.73 kB / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.3001, allocations: 103.6 kB / 0.7921 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.3002, allocations: 15.94 kB / 0.7921 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.3005, allocations: 135.8 kB / 0.7923 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.3005, allocations: 63.81 kB / 0.7923 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.775e-05/0.3006, allocations: 61.58 kB / 0.7924 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.301, allocations: 311.2 kB / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.301, allocations: 0 / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.301, allocations: 0 / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.301, allocations: 0 / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008521/0.3019, allocations: 0.5066 MB / 0.7932 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3019, allocations: 12.03 kB / 0.7932 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.302, allocations: 58.55 kB / 0.7932 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007172/0.3027, allocations: 99.56 kB / 0.7933 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.3031, allocations: 257.8 kB / 0.7936 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3031, allocations: 12.38 kB / 0.7936 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.3032, allocations: 19.98 kB / 0.7936 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.3038, allocations: 382 kB / 0.794 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3038, allocations: 0 / 0.794 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.3039, allocations: 11.98 kB / 0.794 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.3039, allocations: 24.31 kB / 0.794 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006197/0.3046, allocations: 348.6 kB / 0.7944 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.3065, allocations: 1.717 MB / 0.796 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.3072, allocations: 333.1 kB / 0.7963 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.3074, allocations: 89.09 kB / 0.7964 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.3074, allocations: 38.5 kB / 0.7965 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.3074, allocations: 0 / 0.7965 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001451/0.3089, allocations: 0.6108 MB / 0.7971 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.309, allocations: 81.11 kB / 0.7971 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.3093, allocations: 207.7 kB / 0.7973 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.3093, allocations: 25.7 kB / 0.7974 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.3095, allocations: 163.8 kB / 0.7975 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.3095, allocations: 70.98 kB / 0.7976 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.3095, allocations: 8 kB / 0.7976 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3097, allocations: 338.7 kB / 0.7979 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.3099, allocations: 132.5 kB / 0.798 GB, free: 420 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.3102, allocations: 219.5 kB / 0.7983 GB, free: 164 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.3105, allocations: 162.5 kB / 0.7984 GB, free: 4 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3105, allocations: 0 / 0.7984 GB, free: 4 kB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008121/0.3114, allocations: 432.2 kB / 0.7988 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004923/0.3119, allocations: 1.052 MB / 0.7998 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3119, allocations: 11.95 kB / 0.7999 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.3121, allocations: 36.83 kB / 0.7999 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.3124, allocations: 79.81 kB / 0.8 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.3141, allocations: 1.505 MB / 0.8014 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.3144, allocations: 35.81 kB / 0.8015 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.3144, allocations: 12 kB / 0.8015 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.3144, allocations: 4 kB / 0.8015 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007052/0.3151, allocations: 371.4 kB / 0.8018 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3152, allocations: 8.062 kB / 0.8019 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/0.3153, allocations: 40.83 kB / 0.8019 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.3156, allocations: 63.89 kB / 0.802 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.317, allocations: 1.516 MB / 0.8034 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.3172, allocations: 23.98 kB / 0.8035 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.3172, allocations: 12 kB / 0.8035 GB, free: 10.44 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 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.0002516/0.3175, allocations: 241 kB / 0.8037 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.3175, allocations: 19.72 kB / 0.8037 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.3183, allocations: 368 kB / 0.8041 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3183, allocations: 0 / 0.8041 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3183, allocations: 4 kB / 0.8041 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.3183, allocations: 3.984 kB / 0.8041 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.3198, allocations: 0.9599 MB / 0.805 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3198, allocations: 0 / 0.805 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.3201, allocations: 55.89 kB / 0.8051 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.3202, allocations: 37.05 kB / 0.8051 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.3202, allocations: 8 kB / 0.8051 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.3217, allocations: 1.421 MB / 0.8065 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3217, allocations: 4.031 kB / 0.8065 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008444/0.3225, allocations: 0.6319 MB / 0.8071 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3227, allocations: 128.7 kB / 0.8072 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.3227, allocations: 8 kB / 0.8072 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.323, allocations: 23.97 kB / 0.8073 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.3231, allocations: 27.92 kB / 0.8073 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3231, allocations: 8 kB / 0.8073 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001512/0.3232, allocations: 159.5 kB / 0.8075 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3233, allocations: 0 / 0.8075 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006515/0.3239, allocations: 104 kB / 0.8076 GB, free: 5.926 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 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.0015/0.3254, allocations: 1.658 MB / 0.8092 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.3271, allocations: 0.7441 MB / 0.8099 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3271, allocations: 0 / 0.8099 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.3275, allocations: 278.5 kB / 0.8102 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3279, allocations: 35.91 kB / 0.8102 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.332, allocations: 3.284 MB / 0.8134 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.3326, allocations: 0.7833 MB / 0.8142 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003361/0.3329, allocations: 89.84 kB / 0.8143 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.3332, allocations: 71.42 kB / 0.8143 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of SimCode: time 1.663e-06/0.3332, allocations: 0 / 0.8143 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.3524, allocations: 5.153 MB / 0.8194 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.3526, allocations: 210.8 kB / 0.8196 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.415, allocations: 1.375 kB / 0.8196 GB, free: 9.5 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) Environment - environmentSimulation: