Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",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.796/1.796, allocations: 288.4 MB / 303.3 MB, free: 8.223 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.001152/0.001152, allocations: 173.4 kB / 372 MB, free: 10.28 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.634/1.634, allocations: 205.4 MB / 0.6307 GB, free: 9.906 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.0007597/0.0007596, allocations: 94.86 kB / 0.7441 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004339/0.0004344, allocations: 10.53 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2661, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002841/0.269, allocations: 2.49 MB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.2712, allocations: 1.576 MB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.2714, allocations: 7.938 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.2716, allocations: 27.78 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.272, allocations: 135.4 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.2725, allocations: 171.6 kB / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.2728, allocations: 350.9 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006124/0.2734, allocations: 363.2 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.2736, allocations: 103.6 kB / 0.9847 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.2738, allocations: 135.5 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.2738, allocations: 8 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.2741, allocations: 135.8 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.2742, allocations: 75.78 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.2742, allocations: 65.58 kB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.2745, allocations: 303.2 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2745, allocations: 0 / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2745, allocations: 0 / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2745, allocations: 0 / 0.9854 GB, free: 21.59 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007484/0.2753, allocations: 0.5143 MB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2753, allocations: 12.02 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.2754, allocations: 58.53 kB / 0.986 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/0.276, allocations: 95.58 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.2763, allocations: 250.6 kB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2763, allocations: 20.36 kB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.2764, allocations: 16 kB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.277, allocations: 386 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2771, allocations: 3.938 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.2771, allocations: 8 kB / 0.9867 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.2771, allocations: 28.25 kB / 0.9868 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/0.2777, allocations: 340.6 kB / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.2791, allocations: 1.721 MB / 0.9888 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.2797, allocations: 337 kB / 0.9891 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.28, allocations: 153.6 kB / 0.9892 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.2801, allocations: 89.08 kB / 0.9893 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2802, allocations: 38.56 kB / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.2802, allocations: 4 kB / 0.9894 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001245/0.2814, allocations: 0.6052 MB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.2815, allocations: 77.11 kB / 0.99 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.2816, allocations: 216.2 kB / 0.9902 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.2817, allocations: 29.7 kB / 0.9902 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.2817, allocations: 155.9 kB / 0.9904 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.2818, allocations: 71 kB / 0.9905 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.2818, allocations: 4 kB / 0.9905 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.2818, allocations: 326.8 kB / 0.9908 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.2821, allocations: 136.5 kB / 0.9909 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.2823, allocations: 223.4 kB / 0.9911 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.2826, allocations: 160.9 kB / 0.9913 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2826, allocations: 4 kB / 0.9913 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006724/0.2833, allocations: 443.2 kB / 0.9917 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.2833, allocations: 166.7 kB / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2834, allocations: 8 kB / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/0.2836, allocations: 44.81 kB / 0.9919 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.2839, allocations: 75.88 kB / 0.992 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.285, allocations: 1.481 MB / 0.9934 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.2853, allocations: 39.84 kB / 0.9935 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.2853, allocations: 20 kB / 0.9935 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.822e-06/0.2853, allocations: 4 kB / 0.9935 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006002/0.2859, allocations: 368.7 kB / 0.9938 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2859, allocations: 0 / 0.9938 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.2861, allocations: 48.91 kB / 0.9939 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.2863, allocations: 67.89 kB / 0.994 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008764/0.2872, allocations: 1.485 MB / 0.9954 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.2874, allocations: 28 kB / 0.9954 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2874, allocations: 8 kB / 0.9954 GB, free: 10.56 MB / 0.6198 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.0001713/0.2876, allocations: 237 kB / 0.9957 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.2876, allocations: 23.67 kB / 0.9957 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.2883, allocations: 369 kB / 0.996 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2883, allocations: 0 / 0.996 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2883, allocations: 7.984 kB / 0.996 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2884, allocations: 0 / 0.996 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.2897, allocations: 0.9657 MB / 0.997 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2897, allocations: 3.938 kB / 0.997 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.2899, allocations: 56.17 kB / 0.997 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.29, allocations: 36.83 kB / 0.9971 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.29, allocations: 8 kB / 0.9971 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008157/0.2909, allocations: 1.421 MB / 0.9985 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2909, allocations: 7.938 kB / 0.9985 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.2915, allocations: 0.5346 MB / 0.999 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2916, allocations: 132.7 kB / 0.9991 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.2916, allocations: 8 kB / 0.9991 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.2919, allocations: 23.97 kB / 0.9992 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.292, allocations: 19.97 kB / 0.9992 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.292, allocations: 8 kB / 0.9992 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001287/0.2921, allocations: 159.5 kB / 0.9993 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2921, allocations: 0 / 0.9993 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006211/0.2928, allocations: 112 kB / 0.9995 GB, free: 6.16 MB / 0.6198 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.0008883/0.2937, allocations: 1.088 MB / 1.001 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.2949, allocations: 0.7461 MB / 1.001 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2949, allocations: 0 / 1.001 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.2952, allocations: 276.9 kB / 1.002 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.2957, allocations: 31.94 kB / 1.002 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.298, allocations: 1.647 MB / 1.003 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.2983, allocations: 0.7678 MB / 1.004 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002502/0.2986, allocations: 89.86 kB / 1.004 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.2987, allocations: 67.41 kB / 1.004 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/0.2987, allocations: 0 / 1.004 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.3166, allocations: 5.198 MB / 1.009 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.3169, allocations: 225.8 kB / 1.009 GB, free: 12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.251, allocations: 0 / 1.009 GB, free: 12 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)